4 ms·
Can JS static typing not evaluate constant expressions to infer types?
by bcoates 7y ago
Can JS static typing not evaluate constant expressions to infer types?
- matt_kantor 7y agoTypeScript has great type inference, but there's no way to get it to parse JSON strings at type-checking time.