Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hopia
on Feb 1, 2020
|
parent
|
context
|
favorite
| on:
TypeScript’s quirks: How inconsistencies make the ...
Personally I always found it annoying to manually add a common tag to every interface/type on TS just to have it work like an union type. But since TS doesn't leak types to runtime that's the only way.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: