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
+1 -1
View File
@@ -1,3 +1,3 @@
/* Generated file to emulate the ts.JsTyping namespace. */
export * from "../jsTyping";
export * from "../jsTyping.js";
+2 -2
View File
@@ -1,4 +1,4 @@
/* Generated file to emulate the ts.server namespace. */
export * from "../shared";
export * from "../types";
export * from "../shared.js";
export * from "../types.js";
+3 -3
View File
@@ -1,7 +1,7 @@
/* Generated file to emulate the ts namespace. */
export * from "../../compiler/_namespaces/ts";
import * as JsTyping from "./ts.JsTyping";
export * from "../../compiler/_namespaces/ts.js";
import * as JsTyping from "./ts.JsTyping.js";
export { JsTyping };
import * as server from "./ts.server";
import * as server from "./ts.server.js";
export { server };
+2 -2
View File
@@ -29,8 +29,8 @@ import {
TypeAcquisition,
Version,
versionMajorMinor,
} from "./_namespaces/ts";
import { stringifyIndented } from "./_namespaces/ts.server";
} from "./_namespaces/ts.js";
import { stringifyIndented } from "./_namespaces/ts.server.js";
export interface TypingResolutionHost {
directoryExists(path: string): boolean;
+1 -1
View File
@@ -1,4 +1,4 @@
import { sys } from "./_namespaces/ts";
import { sys } from "./_namespaces/ts.js";
export type ActionSet = "action::set";
export type ActionInvalidate = "action::invalidate";
+2 -2
View File
@@ -5,7 +5,7 @@ import {
Path,
SortedReadonlyArray,
TypeAcquisition,
} from "./_namespaces/ts";
} from "./_namespaces/ts.js";
import {
ActionInvalidate,
ActionPackageInstalled,
@@ -15,7 +15,7 @@ import {
EventEndInstallTypes,
EventInitializationFailed,
EventTypesRegistry,
} from "./_namespaces/ts.server";
} from "./_namespaces/ts.server.js";
export interface TypingInstallerResponse {
readonly kind: ActionSet | ActionInvalidate | EventTypesRegistry | ActionPackageInstalled | EventBeginInstallTypes | EventEndInstallTypes | EventInitializationFailed | ActionWatchTypingLocations;