Hacker News new | ask | show | jobs
by bcoates 2472 days ago
Can JS static typing not evaluate constant expressions to infer types?
1 comments

TypeScript has great type inference, but there's no way to get it to parse JSON strings at type-checking time.