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,4 +1,4 @@
|
||||
import * as ts from "../typescript/typescript";
|
||||
import * as ts from "../typescript/typescript.js";
|
||||
|
||||
/** @internal */
|
||||
export function getLogLevel(level: string | undefined) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user