Skip to content

Use tsgo, upgrade oxlint#3075

Merged
david-crespo merged 4 commits intomainfrom
use-tsgo-type-checker
Feb 13, 2026
Merged

Use tsgo, upgrade oxlint#3075
david-crespo merged 4 commits intomainfrom
use-tsgo-type-checker

Conversation

@david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Feb 13, 2026

https://devblogs.microsoft.com/typescript/typescript-native-port/
https://github.com/microsoft/typescript-go

We still have to keep the regular typescript dep installed because some libraries depend on it, but we can use tsgo for all our actual typechecking. I changed the tsc script to call tsgo since eventually tsgo is going to be released as tsc (I think).

Scenario tsc tsgo Speedup
Cold (no incremental cache) 5.46s 1.54s 3.5x
Incremental (one file touched) 1.02s 280ms 3.7x
Incremental no-op (nothing changed) 995ms 278ms 3.6x

@vercel
Copy link

vercel bot commented Feb 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
console Ready Ready Preview Feb 13, 2026 4:31am

Request Review

onSuccess(updatedRules) {
const newRule = updatedRules.rules[updatedRules.rules.length - 1]
// We just appended a rule, so the response list is non-empty
const newRule = updatedRules.rules.at(-1)!
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this changes nothing, it just came up when I did an audit of things that fail when we turn on noUncheckedIndexAccess and I changed it to use at because it's shorter

@david-crespo david-crespo changed the title Use tsgo beta Use tsgo Feb 13, 2026
@david-crespo david-crespo changed the title Use tsgo Use tsgo, upgrade oxlint Feb 13, 2026
@david-crespo david-crespo merged commit f122d7f into main Feb 13, 2026
7 checks passed
@david-crespo david-crespo deleted the use-tsgo-type-checker branch February 13, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant