2 ms·Strings literals are proper singleton types in Typescript. It's not inelegant at all.by IshKebab 3y agoStrings literals are proper singleton types in Typescript. It's not inelegant at all.