-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueFixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Key points from discussion from this morning:
- Assume all non-ambient members of non-
constenums are computed (even those initialized with literals), both for inlining purposes and for .d.ts generation purposes - Continue to aggressively compute initializer expressions in both
constand non-constenums - Ambient non-const enums preserve existing behavior (computed iff there is no initializer)
- Continue to have --preserveConstEnums flag, which causes emit of the lookup object for
constenums but does not change inlining
Tag @ahejlsberg
Metadata
Metadata
Assignees
Labels
CommittedThe team has roadmapped this issueThe team has roadmapped this issueFixedA PR has been merged for this issueA PR has been merged for this issueSuggestionAn idea for TypeScriptAn idea for TypeScript