Live data from Hacker News

Untitled topic

news.ycombinator.com

1–6 of 6 posts

Re: undefined

#3

Node.js enables --experimental-strip-types by default

Yes the heading is a bit misleading as there are other Typescript features that aren’t simply the result of type stripping, eg enums, but great to see this happening. What does this mean for Deno and Bun?

Re: undefined

#4
Wow great news! ts-node has always been a bit clunky to use. Even without enums this should be useful for one-off scripts

Re: undefined

#6

Node.js enables --experimental-strip-types by default

Yes the heading is a bit misleading as there are other Typescript features that aren’t simply the result of type stripping, eg enums, but great to see this happening. What does this mean for Deno and Bun?

The flag calling it "strip types" seems to suggest that they are ignored and discarded, where Deno will actually use the types for checking. I haven't played with Bun.