Use explicit extensions for imports within src (#58421)

This commit is contained in:
Jake Bailey
2024-05-06 17:07:54 -07:00
committed by GitHub
parent 9598d35074
commit 16beff101a
582 changed files with 2583 additions and 2360 deletions

View File

@@ -1,4 +1,4 @@
/* Generated file to emulate the ts.server namespace. */
export * from "../../jsTyping/_namespaces/ts.server";
export * from "../../server/_namespaces/ts.server";
export * from "../../jsTyping/_namespaces/ts.server.js";
export * from "../../server/_namespaces/ts.server.js";

View File

@@ -1,8 +1,8 @@
/* Generated file to emulate the ts namespace. */
export * from "../../compiler/_namespaces/ts";
export * from "../../jsTyping/_namespaces/ts";
export * from "../../services/_namespaces/ts";
export * from "../../server/_namespaces/ts";
import * as server from "./ts.server";
export * from "../../compiler/_namespaces/ts.js";
export * from "../../jsTyping/_namespaces/ts.js";
export * from "../../services/_namespaces/ts.js";
export * from "../../server/_namespaces/ts.js";
import * as server from "./ts.server.js";
export { server };

View File

@@ -1,7 +1,7 @@
import {
Debug,
LogLevel,
} from "./_namespaces/ts";
} from "./_namespaces/ts.js";
// enable deprecation logging
declare const console: any;
@@ -22,4 +22,4 @@ if (typeof console !== "undefined") {
};
}
export * from "./_namespaces/ts";
export * from "./_namespaces/ts.js";