Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hermanradtke
on Oct 13, 2022
|
parent
|
context
|
favorite
| on:
Hegel – An advanced static type checker for JavaSc...
There multiple libraries like this and gajus is well aware of them. They are libraries instead of being part of the language.
kotlin2
on Oct 13, 2022
[–]
Yes, runtypes is not the only option. But the point is that TypeScript’s type system is powerful enough to implement runtime type checking. I’m not sure what the benefit would be to adding the concept as a first-class citizen in the language.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: