feat: update TypeScript and related packages to latest versions#1188
Merged
feat: update TypeScript and related packages to latest versions#1188
Conversation
Co-authored-by: streamich <9773803+streamich@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update TypeScript
feat: update TypeScript and related packages to latest versions
Sep 16, 2025
Contributor
|
🎉 This PR is included in version 4.41.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
This PR updates TypeScript and related tooling packages to their latest versions and resolves compatibility issues that arose from the updates.
Changes Made
Package Updates
5.8.3→5.9.229.4.0→29.4.29.5.2→9.5.410.9.2(already latest)2.8.1(already latest)TypeScript Configuration Updates
Updated
tsconfig.jsonto support modern JavaScript features:es2017→es2020ES2017→ES2020This enables support for features like
BigIntandAsyncIterableIteratorthat were causing compilation errors.Type Safety Fixes
Fixed three TypeScript compilation errors related to stricter type checking in the newer version:
Buffer to Uint8Array conversion in
FsaNodeSyncWorker.ts:Buffer to BlobPart casting in file handle implementations:
Verification
yarn buildcompletes successfullyThe updates maintain full backward compatibility while providing access to the latest TypeScript features and improvements.
Fixes #1187.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.