Artyom Bologov on Nostr: Okay, so hear me out: literal types (typing the value as literal "foo") are cool, ...
Okay, so hear me out: literal types (typing the value as literal "foo") are cool, but... providing literally the same value to a literally typed variable might error out because the type of the provided value will be "string" and not ""foo""?! So they just introduced literal types and gave everyone the reason to never use them. I looooooooooove #TypeScript 👺