Skip to content

Commit 82e4682

Browse files
authored
Drop tsserverlibrary.d.ts from baselines, simplify APILibCheck (#59722)
1 parent e8e47dd commit 82e4682

File tree

4 files changed

+2
-58
lines changed

4 files changed

+2
-58
lines changed

src/testRunner/unittests/publicApi.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,9 @@ describe("unittests:: Public APIs", () => {
2323
});
2424
}
2525

26-
describe("for the language service and compiler", () => {
26+
describe("for typescript.d.ts", () => {
2727
verifyApi("typescript.d.ts");
2828
});
29-
30-
describe("for the language server", () => {
31-
verifyApi("tsserverlibrary.d.ts");
32-
});
3329
});
3430

3531
describe("unittests:: Public APIs:: token to string", () => {

tests/baselines/reference/APILibCheck.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/cases/compiler/APILibCheck.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// @lib: es2018
55
// @exactOptionalPropertyTypes: true
66
// @noTypesAndSymbols: true
7+
// @noEmit: true
78

89
// @filename: node_modules/typescript/package.json
910
{

0 commit comments

Comments
 (0)