Skip to content

Commit

Permalink
refactor: rename types.d.ts to type.ts (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
yacinehmito authored Nov 5, 2023
1 parent 6d0c1e2 commit 16d3341
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/loader.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.

import type { LoadResponse } from "./types.d.ts";
import type { LoadResponse } from "./types.ts";

const hasPermissions = "permissions" in Deno;
let readRequested = false;
Expand Down
4 changes: 2 additions & 2 deletions js/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import type {
ModuleGraphJson,
ModuleJson,
TypesDependency,
} from "./types.d.ts";
} from "./types.ts";

export { load } from "./loader.ts";
export { MediaType } from "./media_type.ts";
Expand All @@ -38,7 +38,7 @@ export type {
ModuleJson,
ModuleKind,
TypesDependency,
} from "./types.d.ts";
} from "./types.ts";

// note: keep this in line with deno_cache
export type CacheSetting = "only" | "use" | "reload";
Expand Down
2 changes: 1 addition & 1 deletion js/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
assertRejects,
assertThrows,
} from "https://deno.land/[email protected]/testing/asserts.ts";
import { LoadResponseModule } from "./types.d.ts";
import { LoadResponseModule } from "./types.ts";
import {
createGraph,
init,
Expand Down
File renamed without changes.

0 comments on commit 16d3341

Please sign in to comment.