diff --git a/packages/ast-spec/tests/PunctuatorTokenToText.type-test.ts b/packages/ast-spec/tests/PunctuatorTokenToText.type-test.ts index 32deee0bea9a..e92f2a7db0c5 100644 --- a/packages/ast-spec/tests/PunctuatorTokenToText.type-test.ts +++ b/packages/ast-spec/tests/PunctuatorTokenToText.type-test.ts @@ -2,7 +2,6 @@ import type { PunctuationSyntaxKind } from 'typescript'; import type { PunctuatorTokenToText } from '../src'; -// @ts-expect-error: purposely unused type _Test = { readonly [T in PunctuationSyntaxKind]: PunctuatorTokenToText[T]; // If there are any PunctuationSyntaxKind members that don't have a diff --git a/packages/ast-spec/tests/ast-node-types.type-test.ts b/packages/ast-spec/tests/ast-node-types.type-test.ts index 7cc247f2d094..dc3d9a1bd506 100644 --- a/packages/ast-spec/tests/ast-node-types.type-test.ts +++ b/packages/ast-spec/tests/ast-node-types.type-test.ts @@ -9,7 +9,6 @@ type AllKeys = { type TakesString> = T; -// @ts-expect-error: purposely unused type _Test = // forcing the test onto a new line so it isn't covered by the expect error // If there are any enum members that don't have a corresponding TSESTree.Node, then this line will error with "Type 'string | number | symbol' is not assignable to type 'string'." diff --git a/tsconfig.base.json b/tsconfig.base.json index c490a4a2eee2..7bb2b5a7fa8f 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -9,8 +9,6 @@ "module": "commonjs", "moduleResolution": "node", "noImplicitReturns": true, - "noUnusedLocals": true, - "noUnusedParameters": true, "pretty": true, "skipLibCheck": true, "sourceMap": true,