2 ms·
The string literal doesn't exist at runtime.
by IshKebab 3y ago
The string literal doesn't exist at runtime.
- throw156754228 3y agoI know. I'm talking about its lack of elegance.
- IshKebab 3y agoStrings literals are proper singleton types in Typescript. It's not inelegant at all.