Comment by blue_pants
4 hours ago
It is true, but it wasn't meant to be sound, so it's okay.
You can do this trick for type-checking emptiness of string literals
https://www.typescriptlang.org/play/?jsx=0#code/C4TwDgpgBAsg...
4 hours ago
It is true, but it wasn't meant to be sound, so it's okay.
You can do this trick for type-checking emptiness of string literals
https://www.typescriptlang.org/play/?jsx=0#code/C4TwDgpgBAsg...
No comments yet
Contribute on Hacker News ↗