Don't indirect through _namespaces in tsserver/typingsInstaller (#57829)

This commit is contained in:
Jake Bailey 2024-03-20 16:41:05 -07:00 committed by GitHub
parent 7d504551ae
commit dc113f8170
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 8 deletions

View File

@ -1 +0,0 @@
export * from "../../typescript/typescript";

View File

@ -1,4 +1,4 @@
import * as ts from "./_namespaces/ts";
import * as ts from "../typescript/typescript";
/** @internal */
export function getLogLevel(level: string | undefined) {

View File

@ -23,8 +23,8 @@ import {
validateLocaleAndSetLanguage,
versionMajorMinor,
WatchOptions,
} from "./_namespaces/ts";
import * as ts from "./_namespaces/ts";
} from "../typescript/typescript";
import * as ts from "../typescript/typescript";
import {
getLogLevel,
StartInput,

View File

@ -1,4 +1,4 @@
import * as ts from "./_namespaces/ts";
import * as ts from "../typescript/typescript";
import {
StartInput,
} from "./common";

View File

@ -1 +0,0 @@
export * from "../../typescript/typescript";

View File

@ -11,8 +11,8 @@ import {
sys,
toPath,
version,
} from "./_namespaces/ts";
import * as ts from "./_namespaces/ts";
} from "../typescript/typescript";
import * as ts from "../typescript/typescript";
class FileLog implements ts.server.typingsInstaller.Log {
constructor(private logFile: string | undefined) {