News for hackers. Stuff that matters.
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?
Re:TypeScript at Google by smt88 on Sunday September 02, 2018 @08:12AM (#17896703)
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.

Re:TypeScript at Google by bcherny on Sunday September 02, 2018 @11:10AM (#17897243)
I’d love to see examples for those, maybe drop a comment when you run across a specific issue.