Andrew Branch retweeted
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/types…
Andrew Branch retweeted
Node.js v23.6.0 is out! 🥳🎉
This release enables the flag --experimental-strip-types by default.
Node.js will execute TypeScript files without additional configuration!
⚠️ This feature is experimental, has limitations and is subject to change.
nodejs.org/en/blog/release/v…
Andrew Branch retweeted
Dual publishing ESM and CJS is hard. Getting the types incorrect in your package.json is disappointingly easy. If you want something to help you with both, then maybe tsup and Are the Types Wrong can help. Thanks to @atcb for his assistance with this ❤️🌻
johnnyreilly.com/dual-publis…
Andrew Branch retweeted
Announcing TypeScript 5.5 Beta! 📣
Now with type predicate inference, more type narrowing, an @import tag for JSDoc, the --isolatedDeclarations flag, performance & reliability improvements, and much more!
devblogs.microsoft.com/types…
Andrew Branch retweeted
TypeScript excitement 😉
Congrats to @TitianCernicova @TechAtBloomberg on landing --isolatedDeclarations in upstream TypeScript 🎉
It's the start of a journey to faster type-checking at scale 🔥
An epic collab between folk in TS, Bloomberg & Google 👍
github.com/microsoft/TypeScr…
Andrew Branch retweeted
Node excitement 😉
Congrats to @JoyeeCheung at @igalia on landing **experimental** support for require(ESM) in Node 🎉
The intent is to allow more CommonJS packages to migrate to ESM without breaking compatibility. This should help eliminate the [ERR_REQUIRE_ESM] error 👍
Landed experimental support for synchronous require(esm) to load ES modules without top-level await 🥳 github.com/nodejs/node/pull/…
Andrew Branch retweeted
For my PR to infer type predicates, I needed to understand TypeScript's control flow graph. So I added a graph visualization to @DavidSherret's amazing TypeScript AST Viewer. It's live now and very fun to play with! Edges go backwards in execution order.
ts-ast-viewer.com/#code/GYVw…
Andrew Branch retweeted
After a lot of trouble with fixing the UMD, CJS and ESM bundle for this JS library.
Axios Cache Interceptor v1.5.0
axios-cache-interceptor.js.o…
Super thanks @atcb for creating arethetypeswrong.github.io 🙌
Andrew Branch retweeted
auto-imports for `package.json#imports` just landed in TypeScript, I'm pretty stoked about this (but we have to wait till TS 5.4 before using it)!
github.com/microsoft/TypeScr…
Andrew Branch retweeted
Today we released TypeScript 5.3! Now bringing:
- new narrowing improvements
- more correctness checks
- import attributes
- handy new editor features
- lots of optimizations
and lots more! So try it today!
devblogs.microsoft.com/types…
Andrew Branch retweeted
I am so proud of this presentation. And I hope everyone will soon get to actually try out this wonderful feature we at @TechAtBloomberg have been working on together with the great people at @Google and @typescript
In this talk, @TitianCernicova introduced - for the very first time - a new #TypeScript feature we are working on called “Isolated Declarations” that allows DTS files to be generated without using the type checker at all!
portal.gitnation.org/content…
Andrew Branch retweeted
A perhaps-underappreciated thing in the "theory" section is how TypeScript models input and output files.
A frequent wrong assumption, in the context of module specifiers, is there's a 1:1 mapping from a resolved source file on disk to a working runtime module specifier 1/
Since February, I’ve been spending part of my time rewriting TypeScript’s modules documentation, replacing years-outdated content and adding some that’s never been written down. There’s always more to write, but I’m publishing it officially today. 1/5 typescriptlang.org/docs/hand…
Andrew Branch retweeted
It hasn't happened yet (merging today!!!), but I wrote a big ol blog post on the giant migration of DefinitelyTyped to a @pnpmjs monorepo! I am super excited for this. Again thank you @atcb @sanders_n @zkochan and everyone else.
jakebailey.dev/posts/pnpm-dt…
Andrew Branch retweeted
Why does TypeScript make us use "./foo.js" extensions when importing?
To me, it makes sense - it speeds up Node startup and means your TS code more closely resembles your compiled .js code.
But, it can be pretty confusing on first look.
Andrew Branch retweeted
Yay my typed endeavours made it to the release notes again! Have fun clicking on TypeScript's inlay hints ;)
devblogs.microsoft.com/types…
Andrew Branch retweeted
Landed a new set of features for publint 0.2.3!
🔍 Detect if tests or config files are published
📝 Validate package.json field types
🔭 Prevent exports & browser field conflict
🙈 Error on invalid JSX extensions
And many site fixes thanks to btea. github.com/bluwy/publint/rel…
Andrew Branch retweeted
📢In this talk by @atcb, we'll develop a simple & accurate mental model for how #TypeScript sees packages. We'll also explore how the arethetypeswrong tool can help catch issues before publishing.
Join us▶typescriptcongress.com/
Andrew Branch retweeted
Really excited about everyone seeing this one. I think it's my best talk yet, both in terms of content and production quality
At TS Congress 😎@TitianCernicova, #Typescript enthusiast, will show you how Isolated Declarations enables parallel to spread work across your CPU cores to significantly improve the build speed of your #TypeScript projects.
Join us👉typescriptcongress.com/

























