diff --git a/js/loader.ts b/js/loader.ts index 261791f70..b230ed86f 100644 --- a/js/loader.ts +++ b/js/loader.ts @@ -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; diff --git a/js/mod.ts b/js/mod.ts index f1c4c9abb..4378157a6 100644 --- a/js/mod.ts +++ b/js/mod.ts @@ -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"; @@ -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"; diff --git a/js/test.ts b/js/test.ts index a3f53e20c..572bed519 100644 --- a/js/test.ts +++ b/js/test.ts @@ -6,7 +6,7 @@ import { assertRejects, assertThrows, } from "https://deno.land/std@0.181.0/testing/asserts.ts"; -import { LoadResponseModule } from "./types.d.ts"; +import { LoadResponseModule } from "./types.ts"; import { createGraph, init, diff --git a/js/types.d.ts b/js/types.ts similarity index 100% rename from js/types.d.ts rename to js/types.ts