Andrew Branch reposted
Andrew Branch
Andrew Branch
@andrewbran.ch
Working on the TypeScript API at Microsoft.
1K followers112 following53 posts
Andrew Branch reposted
TypeScript 7.1 Beta is now available! Now with a preview API, content mapper support, new features, and some great optimizations. Give it a try and give us some feedback!
Andrew Branch reposted
I published a TypeScript content mapper for CSS modules. This gives you type-safety and definitions when importing CSS in TypeScript. github.com/remcohaszing...
Andrew Branch reposted
Andrew Branch reposted
Andrew Branch reposted
The TypeScript content mappers PR just merged and is likely to land in 7.1 🎉 This could open a new chapter for everything built on and around TypeScript github.com/microsoft/ty...
Andrew Branch reposted
If you're interested more in how this works, the approach was inspired by @marvinh.dev's great write-up of solving a similar problem in Deno.
Andrew Branch reposted
I've been busy experimenting with the new emit APIs that TypeScript 7.1 will bring. ts-loader now has basic support in place - here's how we got there! johnnyreilly.com/migrating-ts...
Andrew Branch reposted
ts-ast-viewer.com now supports TypeScript 7 along with nightly builds of the typescript-go repository. It's not selected by default, but available in the dropdown.
Andrew Branch reposted
If you discount project references (and there's no API support as yet I believe), then all bar around 6 tests of ts-loader are now passing using the 7.1 tsgo TypeScript API! Not quite there yet but significant progress github.com/TypeStrong/t...
Andrew Branch reposted
Building upon the fine work of @pier.fumagalli.org / @titiancernicova.bsky.social / @andrewbran.ch I've been throwing copilot at the new TypeScript 7.1 API and ts-loader. Very early days but some progress! github.com/TypeStrong/t...
Andrew Branch reposted
Andrew Branch reposted
Today’s Typescript 7 daily release finally includes my contribution to support “emit” via API! Right before the weekend, so I can waste it playing around with it 😛 Thanks @andrewbran.ch tor including it! npmx.dev/package-code...
Andrew Branch reposted
📣 The moment is here. 📣 TypeScript 7 is officially released! 7️⃣ devblogs.microsoft.com/typescript/a...
Andrew Branch reposted
I've been experimenting with having `ts-blank-space` use the (unstable) TypeScript-go JS API. At first it was ~60% slower than using the TS 6 API, but with a bit of investigation, a bug fix, and a small refactor to use different API calls it is now ~24% faster! Draft PR: github.com/bloomberg/ts...
Andrew Branch reposted
My talk was accepted to GopherCon 2026 in Seattle! I'm back with more TypeScript+Go goodness, this time with another year's worth of experience under our belt. I had a blast at last year's conference, so here's to yet another one! www.gophercon.com/agenda/speak...
Andrew Branch reposted
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...
Andrew Branch reposted
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...
Andrew Branch reposted
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...
Andrew Branch reposted
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
Andrew Branch reposted
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!
Andrew Branch reposted
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...
Andrew Branch reposted
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...
Andrew Branch reposted
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)
Andrew Branch reposted
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!
Andrew Branch reposted
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!
You are up to date.