Skip to content

Commit dc113f8

Browse files
authored
Don't indirect through _namespaces in tsserver/typingsInstaller (#57829)
1 parent 7d50455 commit dc113f8

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

src/tsserver/_namespaces/ts.ts

-1
This file was deleted.

src/tsserver/common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from "./_namespaces/ts";
1+
import * as ts from "../typescript/typescript";
22

33
/** @internal */
44
export function getLogLevel(level: string | undefined) {

src/tsserver/nodeServer.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ import {
2323
validateLocaleAndSetLanguage,
2424
versionMajorMinor,
2525
WatchOptions,
26-
} from "./_namespaces/ts";
27-
import * as ts from "./_namespaces/ts";
26+
} from "../typescript/typescript";
27+
import * as ts from "../typescript/typescript";
2828
import {
2929
getLogLevel,
3030
StartInput,

src/tsserver/server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as ts from "./_namespaces/ts";
1+
import * as ts from "../typescript/typescript";
22
import {
33
StartInput,
44
} from "./common";

src/typingsInstaller/_namespaces/ts.ts

-1
This file was deleted.

src/typingsInstaller/nodeTypingsInstaller.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import {
1111
sys,
1212
toPath,
1313
version,
14-
} from "./_namespaces/ts";
15-
import * as ts from "./_namespaces/ts";
14+
} from "../typescript/typescript";
15+
import * as ts from "../typescript/typescript";
1616

1717
class FileLog implements ts.server.typingsInstaller.Log {
1818
constructor(private logFile: string | undefined) {

0 commit comments

Comments
 (0)