Bump TypeScript to 6.0.3#4311
Open
m-bert wants to merge 1 commit into
Open
Conversation
m-bert
commented
Jul 10, 2026
m-bert
left a comment
Collaborator
Author
There was a problem hiding this comment.
Let me know if you prefer to revert Podfile locks changes.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the repo to TypeScript 6.0.3 to align with React Native (>= 0.87) moving to TS 6, and adjusts TypeScript configuration and lockfiles accordingly across the monorepo workspaces and example apps.
Changes:
- Bump TypeScript to
~6.0.3in the root and workspacepackage.jsonfiles and refreshyarn.lock. - Switch the root TS config to
moduleResolution: "bundler"and adjust per-workspace TS build config (rootDir). - Refresh iOS/macOS CocoaPods lockfiles (notably RNReanimated patch updates).
Reviewed changes
Copilot reviewed 9 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Updates locked dependency graph to reflect TypeScript 6 and related resolution changes. |
| tsconfig.json | Switches TS module resolution to bundler (TS6-friendly for RN) and adjusts shared compiler options. |
| packages/react-native-gesture-handler/tsconfig.build.json | Sets rootDir for package build compilation. |
| packages/react-native-gesture-handler/package.json | Bumps workspace devDependency TypeScript version. |
| package.json | Bumps root devDependency TypeScript version. |
| apps/macos-example/package.json | Bumps TypeScript version used by the macOS example app. |
| apps/macos-example/macos/Podfile.lock | Updates CocoaPods lockfile (RNReanimated patch/version checksum changes). |
| apps/expo-example/package.json | Bumps TypeScript version used by the Expo example app. |
| apps/common-app/tsconfig.json | Adjusts app TS config in response to shared TS config changes. |
| apps/common-app/package.json | Bumps TypeScript version used by the shared example app sources. |
| apps/basic-example/tsconfig.json | Adjusts basic-example TS config formatting/options. |
| apps/basic-example/package.json | Bumps TypeScript version used by the basic example app. |
| apps/basic-example/ios/Podfile.lock | Updates CocoaPods lockfile (RNReanimated patch/version checksum changes). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Description
Currently we use TypeScript 5. Starting from 0.87, React Native uses TyoeScript 6. I think it is good time to adapt to these changes and bump it in our repository.
I've left docs since they are not part of workspaces.
Test plan
yarn ts-check