Re:TypeScript at Google
by bcherny on Sunday September 02, 2018 @01:18AM
(#17895689)
What sorts of things do you have trouble expressing with the type system?
[ Parent
| on HN ]
I can't think of something off the top of my head, but it's usually related to generics. I'll type something that makes sense, but the compiler doesn't like it.
Another issue is that handling of string literals as types can be wonky when they're being compared against the type "string", which they should always satisfy but sometimes don't.