No post body was provided.
Untitled topic
1–6 of 6 posts
Re: undefined
#2Node.js enables --experimental-strip-types by default
Re: undefined
#3Node.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
#4Wow 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
#5Node.js enables --experimental-strip-types by default
The PR is still open and hasn't actually been merged yet. It'll be great when it is though.
Re: undefined
#6Node.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.