Comment Comment by blue_pants 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 literalshttps://www.typescriptlang.org/play/?jsx=0#code/C4TwDgpgBAsg... parent blue_pants 4 months ago
You can do this trick for type-checking emptiness of string literals
https://www.typescriptlang.org/play/?jsx=0#code/C4TwDgpgBAsg...