-
Notifications
You must be signed in to change notification settings - Fork 1.4k
chore: replace tsc with tsgo #9409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dang that is so fast! it took 8s on my machine
| "check-types": "tsc", | ||
| "tsgo": "tsgo", | ||
| "check-types": "tsgo --noEmit", | ||
| "check-types:tsc": "tsc", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we keeping both around just for timing comparison? or can we remove the old typescript?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it might be nice to keep both in case we get a weird error in tsgo and want to go compare with tsc to make sure it isn't due to a difference between the two.
|
Build successful! 🎉 |
https://devblogs.microsoft.com/typescript/progress-on-typescript-7-december-2025/
On my machine:
tsc: 57.6s
tsgo: 10.8s
To get VSCode to use it, you'll need to go to Settings -> TypeScript -> Experimental: Use Tsgo.
✅ Pull Request Checklist:
📝 Test Instructions:
Test
yarn lint.🧢 Your Project: