Repository navigation
feat(toolchain): upgrade to TypeScript 7, enforce erasable syntax, and emit lint declarations - #454
Merged
Merged
Conversation
…d emit lint declarations - Upgrade typescript to ^7.0.2 across root, a11y, and recall workspaces - Target ES2023 and enable erasableSyntaxOnly and noUncheckedSideEffectImports across all tsconfigs - Convert all 29 constructor parameter properties across 21 files to standard class fields - Emit dist/types/lint.d.ts via native TypeScript 7 tsc and expose types in package.json exports['./lint'] - Add ease-design/lint NodeNext consumer types contract test (positive + TS2345 red probe) - Migrate lint script from TS6-locked typescript-eslint to oxlint (^1.93.0) while retaining @typescript/typescript6 solely for AST test oracles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
typescriptto^7.0.2across root,a11y, andrecallworkspaces (plusnpm run typecheck:workspaces).tsconfig.json,a11y/cli/tsconfig.json, andrecall/cli/tsconfig.jsontoES2023,erasableSyntaxOnly: true, andnoUncheckedSideEffectImports: true, converting all 29 constructor parameter properties across 21 files to standard class fields.dist/types/lint.d.tsvia native TypeScript 7 (tsc -p tsconfig.dts.json) duringnpm run build, exposeexports["./lint"].types, and addtests/lint-package-types.test.tsexercisingNodeNextresolution withskipLibCheck: falseand aTS2345red probe.npm run lintfrom TS6-lockedtypescript-eslinttooxlint(^1.93.0), keeping@typescript/typescript6indevDependenciessolely for the two AST oracle test suites while guardingsrc/against importingtypescript,typescript/*, or@typescript/*.