Skip to content

Commit 7e8dab6

Browse files
authored
typingsInstaller:Remove triple-slash references (#21982)
Replace them with an explicit list of files in tsconfig. I got this list by adding --listFiles to the jake-generated command.
1 parent 70e9a5e commit 7e8dab6

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

src/server/typingsInstaller/nodeTypingsInstaller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference path="typingsInstaller.ts"/>
21
/// <reference types="node" />
32

43
namespace ts.server.typingsInstaller {

src/server/typingsInstaller/tsconfig.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@
1212
]
1313
},
1414
"files": [
15+
"../../compiler/types.ts",
16+
"../../compiler/performance.ts",
17+
"../../compiler/core.ts",
18+
"../../compiler/sys.ts",
19+
"../../compiler/diagnosticInformationMap.generated.ts",
20+
"../../compiler/utilities.ts",
21+
"../../compiler/scanner.ts",
22+
"../../compiler/parser.ts",
23+
"../../compiler/commandLineParser.ts",
24+
"../../compiler/moduleNameResolver.ts",
25+
"../../services/semver.ts",
26+
"../../services/jsTyping.ts",
1527
"../types.ts",
1628
"../shared.ts",
1729
"typingsInstaller.ts",

src/server/typingsInstaller/typingsInstaller.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
/// <reference path="../../compiler/core.ts" />
2-
/// <reference path="../../compiler/moduleNameResolver.ts" />
3-
/// <reference path="../../services/jsTyping.ts"/>
4-
/// <reference path="../../services/semver.ts"/>
5-
/// <reference path="../types.ts"/>
6-
/// <reference path="../shared.ts"/>
7-
81
namespace ts.server.typingsInstaller {
92
interface NpmConfig {
103
devDependencies: MapLike<any>;
@@ -413,4 +406,4 @@ namespace ts.server.typingsInstaller {
413406
}
414407

415408
const latestDistTag = "latest";
416-
}
409+
}

0 commit comments

Comments
 (0)