logoalt Hacker News

space_ghost • yesterday at 1:57 PM • 2 replies • view on HN

> instead of striping types

That's what Deno does too, tho. Typescript is designed to work that way.


Replies

simonkagedal • yesterday at 8:30 PM

Node’s type stripping only handles “erasable syntax”:

https://nodejs.org/learn/typescript/run-natively

BrunoBernardino • yesterday at 6:09 PM

I meant that Deno supports the full language, including enums and JSX/TSX. Node doesn't, AFAIK.