Andrew Branch

@andrewbran.ch

Working on TypeScript at Microsoft. I appear when someone says “module resolution” three times in the dark. He/him

they coulda trained opus 5 to learn that typescript 7 is stable now because it simply refuses to believe oxlint with type checking enabled only takes 28ms to run

TypeScript 6.0 is now available! This release brings better type-checking for methods, new standard library features, new module features for Node.js, and more! But most important, this release brings us one step closer to the upcoming native-speed 7.0! devblogs.microsoft.com/typescript/a...

Announcing TypeScript 6.0 - TypeScript

TypeScript 6.0 is now available! TypeScript 6 is a stepping-stone release, aligning with the upcoming native-speed 7.0 release.

devblogs.microsoft.com

Big news in this year's GitHub Octoverse report: TypeScript is now the most-used language on GitHub! We are thrilled and grateful to see the TypeScript and JavaScript community continue to grow and thrive. 🚀 Read up more at github.blog/news-insight...

Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1

In this year’s Octoverse, we uncover how AI, agents, and typed languages are driving the biggest shifts in software development in more than a decade.

github.blog

Tonight will be one of the best nightlies of the TypeScript Native Preview ever. 1) @andrewbran.ch fully rewrote the language server infra into a snapshot model. No more data races. It's so cool 2) Sheetal added build mode (-b), and it's even _concurrent_ build mode. 10x+ on dt-tools, hot and cold

Benchmark 1: node ./node_modules/typescript/lib/tsc.js -b . -f
  Time (mean ± σ):      4.204 s ±  0.057 s    [User: 6.437 s, System: 0.533 s]
  Range (min … max):    4.142 s …  4.305 s    10 runs
 
Benchmark 2: /home/jabaile/work/TypeScript-go/built/local/tsgo -b . -f
  Time (mean ± σ):     377.8 ms ±   8.1 ms    [User: 2827.7 ms, System: 453.3 ms]
  Range (min … max):   361.4 ms … 387.1 ms    10 runs
 
Summary
  /home/jabaile/work/TypeScript-go/built/local/tsgo -b . -f ran
   11.13 ± 0.28 times faster than node ./node_modules/typescript/lib/tsc.js -b . -f

Benchmark 1: node ./node_modules/typescript/lib/tsc.js -b .
  Time (mean ± σ):      1.247 s ±  0.016 s    [User: 1.859 s, System: 0.252 s]
  Range (min … max):    1.232 s …  1.284 s    10 runs
 
  Warning: Statistical outliers were detected. Consider re-running this benchmark on a quiet system without any interferences from other programs. It might help to use the '--warmup' or '--prepare' options.
 
Benchmark 2: /home/jabaile/work/TypeScript-go/built/local/tsgo -b .
  Time (mean ± σ):     120.6 ms ±   9.5 ms    [User: 843.1 ms, System: 207.4 ms]
  Range (min … max):   111.8 ms … 156.0 ms    24 runs
 
Summary
  /home/jabaile/work/TypeScript-go/built/local/tsgo -b . ran
   10.34 ± 0.82 times faster than node ./node_modules/typescript/lib/tsc.js -b .

Next week is gonna be a fun week Soon the scourge of baseUrl, paths, and typesRoot will be purged, replaced with "how about we actually use node_modules like everyone else" (thank you Andrew and Nathan for your efforts, and of course @zkochan.bsky.social and contributors for pnpm)

Screen shot of the WIP PR to DefinitelyTyped which will convert it into a pnpm monorepo

We just released TypeScript 5.2 Beta! Check out - 'using' Declarations - Decorator Metadata - Easier Tuple Type Notation - Inline Variable Refactoring - Comma Completions in Objects and more! Try it today!

Announcing TypeScript 5.2 Beta - TypeScript

Today we are excited to announce the availability of TypeScript 5.2 Beta. To get started using the beta, you can get it through NuGet, or through npm with the following command: npm install -D typescr...

devblogs.microsoft.com