A string literal type should not permit duplicate values #7498
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Out of Scope
This idea sits outside of the TypeScript language design constraints
Suggestion
An idea for TypeScript
Hi,
Version: 1.8.5
I would like to see an error when duplicate values are found in a string literal declaration:
This is most likely an unintentional inclusion.
The text was updated successfully, but these errors were encountered: