3 ms·
Node.js enables --experimental-strip-types by default
by satanacchio 2y ago
Node.js enables --experimental-strip-types by default
- jimmcslim 2y agoYes 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?
- xscott 2y agoThe 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.
- mytydev 2y agoThe PR is still open and hasn't actually been merged yet. It'll be great when it is though.