Skip to content

chore: Upgrade to TypeScript 7 - #10461

Open
devongovett wants to merge 3 commits into
mainfrom
typescript-7
Open

chore: Upgrade to TypeScript 7#10461
devongovett wants to merge 3 commits into
mainfrom
typescript-7

Conversation

@devongovett

@devongovett devongovett commented Aug 15, 2026

Copy link
Copy Markdown
Member

well... mostly. TypeScript 7 does not support the JS-based compiler APIs yet, which we use in react-docgen-typescript and our MCP server. So those still use TS 6.

Yarn upgrade was also because it crashed for some reason when installing TS 7 and upgrading fixed it. 🤷

@devongovett devongovett added the no testing Does not require manual testing during testing session label Aug 15, 2026
@devongovett
devongovett marked this pull request as ready for review August 15, 2026 01:59
Comment thread package.json
"svgo": "^3"
},
"packageManager": "yarn@4.13.0",
"packageManager": "yarn@4.18.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upgrade to TS 7 && yarn 4.18 eh?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol you so fast. I just added something to the description. It crashed during install of typescript 7, and upgrading yarn fixed it. 🤷

@rspbot

rspbot commented Aug 15, 2026

Copy link
Copy Markdown

@rspbot

rspbot commented Aug 15, 2026

Copy link
Copy Markdown
## API Changes

@internationalized/number

/@internationalized/number:NumberFormatter

 NumberFormatter {
   constructor: (string, NumberFormatOptions) => void
   format: (number) => string
   formatRange: (number, number) => string
-  formatRangeToParts: (number, number) => Array<NumberRangeFormatPart>
+  formatRangeToParts: (number, number) => Array<Intl.NumberRangeFormatPart>
   formatToParts: (number) => Array<Intl.NumberFormatPart>
   resolvedOptions: () => Intl.ResolvedNumberFormatOptions
 }

@rspbot

rspbot commented Aug 15, 2026

Copy link
Copy Markdown

Agent Skills Changes

Modified (2)
Install

React Spectrum S2:

npx skills add https://d1pzu54gtk2aed.cloudfront.net/pr/4428fbba76daaa0f0d9cc25a3f75b5d06262724b/

React Aria:

npx skills add https://d5iwopk28bdhl.cloudfront.net/pr/4428fbba76daaa0f0d9cc25a3f75b5d06262724b/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI no testing Does not require manual testing during testing session S2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants