Allow compile-time computable expressions to initialize ambient const
s
#6804
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Effort: Moderate
Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".
Help Wanted
You can do this
Suggestion
An idea for TypeScript
To support #6678, allow
const
declarations in ambient contexts to have compile-time computable initializers:The text was updated successfully, but these errors were encountered: