-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Auto referring to last identifier:
Instead of:
if(value > 2 && value !== 3) {}
we can have this:
if(value > 2 && !== 3) {}
Auto referring to last identifier and operator:
Instead of:
if(value === 2 && value === 3) {}
we can have this:
if(value === 2 && 3) {}
Range comparisons:
for numbers:
if(value === 1..3) {}
for enums:
if(value === Enum.something...Enum.somethingElse) {}
Metadata
Metadata
Assignees
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript