logoalt Hacker News

klysmtoday at 6:56 PM1 replyview on HN

> no one wants the client to throw type errors where the untyped code would have actually worked

That’s not how TypeScript works. You execute it after erasing the types.


Replies

antiherotoday at 7:01 PM

Unless you use enums, of course.

show 1 reply