Comment by space_ghost
10 hours ago
> instead of striping types
That's what Deno does too, tho. Typescript is designed to work that way.
10 hours ago
> instead of striping types
That's what Deno does too, tho. Typescript is designed to work that way.
Node’s type stripping only handles “erasable syntax”:
https://nodejs.org/learn/typescript/run-natively
I meant that Deno supports the full language, including enums and JSX/TSX. Node doesn't, AFAIK.