mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Use explicit extensions for imports within src (#58421)
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
/* Generated file to emulate the ts.JsTyping namespace. */
|
||||
|
||||
export * from "../jsTyping";
|
||||
export * from "../jsTyping.js";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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,4 +1,4 @@
|
||||
import { sys } from "./_namespaces/ts";
|
||||
import { sys } from "./_namespaces/ts.js";
|
||||
|
||||
export type ActionSet = "action::set";
|
||||
export type ActionInvalidate = "action::invalidate";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user