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,4 +1,4 @@
import * as ts from "../typescript/typescript";
import * as ts from "../typescript/typescript.js";
/** @internal */
export function getLogLevel(level: string | undefined) {
+3 -3
View File
@@ -23,13 +23,13 @@ import {
validateLocaleAndSetLanguage,
versionMajorMinor,
WatchOptions,
} from "../typescript/typescript";
import * as ts from "../typescript/typescript";
} from "../typescript/typescript.js";
import * as ts from "../typescript/typescript.js";
import {
getLogLevel,
StartInput,
StartSessionOptions,
} from "./common";
} from "./common.js";
interface LogOptions {
file?: string;
+3 -3
View File
@@ -1,6 +1,6 @@
import * as ts from "../typescript/typescript";
import { StartInput } from "./common";
import { initializeNodeSystem } from "./nodeServer";
import * as ts from "../typescript/typescript.js";
import { StartInput } from "./common.js";
import { initializeNodeSystem } from "./nodeServer.js";
function findArgumentStringArray(argName: string): readonly string[] {
const arg = ts.server.findArgument(argName);