News for hackers. Stuff that matters.
Re:I am worried about Bun by traderj0e on Monday May 04, 2026 @07:50PM (#48016439)
Node's built-in profiler doesn't work with Typescript, which is one part of Node not natively supporting TS. Idk how it is in Bun, cause that made me abandon TS rather than abandoning Node.
Re:I am worried about Bun by kigiri on Tuesday May 05, 2026 @01:13AM (#48018320)
Node supports ts natively now though.
Re:I am worried about Bun by bel8 on Tuesday May 05, 2026 @10:24AM (#48022940)
even enums? last I tested, it did type-stripping only.

And looking ad docs, it seems it only has partial support still: https://nodejs.org/api/typescript.html

> To use TypeScript with full support for all TypeScript features, including tsconfig.json, you can use a third-party package. These instructions use tsx as an example but there are many other similar libraries available.

Re:I am worried about Bun by traderj0e on Tuesday May 05, 2026 @02:41PM (#48026696)
And this partial support is fairly recent. If it says anything other than "ts is fully supported exactly the same as js" then I'm gonna pass on ts.