Advertisement · 728 × 90

Posts by Andrew Branch

Slight correction to Jake—we *kind of* don't just watch the current directory only; if we encounter files outside the workspace, we will request to watch those directories too. I say "kind of" because VS Code seems to ignore those requests, and I haven't figured out whose bug that is.

5 days ago 0 0 0 0
Preview
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.

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...

3 weeks ago 315 87 7 12

Thanks for the good investigations and profiling!

1 month ago 3 0 0 0

Are you in a monorepo by any chance?

2 months ago 1 0 1 0

Yeah, this is about where it interacts with your project, not necessarily about where the model lives—local uses the workspace in the window, background uses a git work tree (I think) to run in a background process, and cloud works on branch on github.com, basically

2 months ago 1 0 0 0

What you’re describing is a restriction under `composite`

3 months ago 4 0 1 0
Preview
require(esm) in Node.js: from experiment to stability More than a year ago, I set out to revive require(esm) in Node.js and landed an experimental implementation. After a lot of iteration and battle-testing, require(esm) is now unflagged across all suppo

Finished two retrospective blog posts on the journey of require(esm) before 2025 ends:

joyeecheung.github.io/blog/2025/12...

joyeecheung.github.io/blog/2025/12...

3 months ago 86 22 2 1
Preview
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.

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...

5 months ago 103 22 1 5
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 .

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 .

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

7 months ago 113 17 6 0
Advertisement
Add support for resolution mode by EricCornelson · Pull Request #851 · microsoft/typescript-go

Any packages that only resolve via “import” condition are going to be broken until github.com/microsoft/ty... is in

10 months ago 2 0 0 0
Preview
Announcing TypeScript Native Previews - TypeScript Previews of the native TypeScript port are now available on npm and for VS Code through the Visual Studio Marketplace!

Today we're announcing previews of the native port of TypeScript! These nightly previews will be available on npm and the VS Code marketplace!

npm install -D @​typescript/native-preview
npx tsgo --version

Read up more on our blog!

10 months ago 399 92 10 12

It does that only to issue a diagnostic message that says (paraphrased): “this didn’t work, but it *would* work if you update your moduleResolution settings, sure you don’t want to do that?”

1 year ago 1 0 0 0
Preview
A 10x Faster TypeScript - TypeScript Embarking on a native port of the existing TypeScript compiler and toolset to achieve a 10x performance speed-up.

Today we're thrilled to announce our effort to port the TypeScript compiler and language service to native code, gaining a 10x speed boost in build times and editor responsiveness!

devblogs.microsoft.com/typescript/t...

1 year ago 973 292 22 156
DefinitelyTyped is a monorepo! Yes, it is! But for real this time!

It hasn't happened yet (merging today!!!), but I wrote a big ol blog post on the giant migration of DefinitelyTyped to a @pnpm.bsky.social monorepo! I am super excited for this. Again thank you @andrewbran.ch, Nathan, @zkochan.bsky.social and everyone else.

jakebailey.dev/posts/pnpm-d...

2 years ago 12 3 1 0
Screen shot of the WIP PR to DefinitelyTyped which will convert it into a pnpm monorepo

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

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)

2 years ago 4 3 1 0

Except bicyclists doing a rolling stop, those guys must go straight to jail

2 years ago 0 0 0 0
Preview
Announcing TypeScript 5.2 RC - TypeScript Today we’re excited to announce our Release Candidate of TypeScript 5.2! Between now and the stable release of TypeScript 5.2, we expect no further changes apart from critical bug fixes. To get star...

The Release Candidate of TypeScript 5.2 is now out to try! Test it out and let us know if you run into any issues!

2 years ago 4 4 0 1
Preview
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...

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!

2 years ago 16 7 0 2
Advertisement