Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop tsserverlibrary.d.ts from baselines, simplify APILibCheck #59722

Merged
merged 6 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/testRunner/unittests/publicApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ describe("unittests:: Public APIs", () => {
});
}

describe("for the language service and compiler", () => {
describe("for typescript.d.ts", () => {
verifyApi("typescript.d.ts");
});

describe("for the language server", () => {
verifyApi("tsserverlibrary.d.ts");
});
});

describe("unittests:: Public APIs:: token to string", () => {
Expand Down
36 changes: 0 additions & 36 deletions tests/baselines/reference/APILibCheck.js

This file was deleted.

17 changes: 0 additions & 17 deletions tests/baselines/reference/api/tsserverlibrary.d.ts

This file was deleted.

1 change: 1 addition & 0 deletions tests/cases/compiler/APILibCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// @lib: es2018
// @exactOptionalPropertyTypes: true
// @noTypesAndSymbols: true
// @noEmit: true

// @filename: node_modules/typescript/package.json
{
Expand Down