--useDefineForClassFields
should be default in tsc init
#43167
Labels
Duplicate
An existing issue was already created
Suggestion
Using flags to maintain back compat is fine, but
tsc init
should ideally always match "what we would do by default if we didn't care about back compat". Hence, class fields should match the spec and use [[Define]] by default for all new projects.See #12437 (comment).
🔍 Search Terms
class fields, useDefineForClassFields, tsc init, default
(i didn't search tho because a TS team member asked for a new issue)
✅ Viability Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: