Number Literal Type support? #7982
Labels
Domain: Literal Types
Unit types including string literal types, numeric literal types, Boolean literals, null, undefined
Duplicate
An existing issue was already created
TypeScript 1.8.9:
Can there be a way to limit number value for example
an property that accepts 0-255 number or decimals as shown below
eg:
this would let users limit the options that most javascript frameworks allow
Thanks
The text was updated successfully, but these errors were encountered: