Update typescript to latest version - #1544
Open
zorkow wants to merge 2 commits into
Open
Conversation
dpvc
approved these changes
Aug 8, 2026
dpvc
left a comment
Member
There was a problem hiding this comment.
I tried it and it seems to work well. Compiling seems faster, though I haven't done any formal testing. Thanks for working this out.
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.
PR updates typescript to the latest version 7.0.2.
eslintandtypedocChanges to Configuration Files
All changes are in
tsconfig/and mainly missingrootDir. Changes to other compiler options thanks to DuckAI. Summary table thanks to Claude.common.jsonbaseUrl/downlevelIteration. Added"strict": false— TS7 defaultsstricttotrue, which leads to 1672 type errors.mjs.json"rootDir": "../ts"(TS7 requires it rather than inferring it).cjs.json"rootDir": "../ts".targetchangedES5→ES2015(ES5 emit target was removed in TS7).worker.json"rootDir": "../ts/a11y/sre".worker-cjs.json"rootDir": "../ts/a11y/sre".moduleResolutionchangednode(→ legacynode10, removed) →bundler.components.json"rootDir": "../components/mjs".Work around for linting and typedoc
Since TS7 does not yet expose an API yet, we use the dual approach suggested in
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0
which allows both
typescript-eslintandtypedocto run using TSv6.0.2.Issues to follow for updates
(Links quoted to not make noise on the trackers.)
For typedoc
https://github.com/TypeStrong/typedoc/issues/3098For typescript-eslint
https://github.com/typescript-eslint/typescript-eslint/issues/10940