Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by space_ghost

9 hours ago

> instead of striping types

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

2 comments

space_ghost

Reply

simonkagedal  3 hours ago

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

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

BrunoBernardino  5 hours ago

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities