Skip to content

Switch default for useDefineForClassFields in ESNext #34787

Closed
@DanielRosenwasser

Description

@DanielRosenwasser

Since this targets 3.7.1, I'm going to close this bug. When class fields reaches stage 4, I'll do the final two steps.

Originally posted by @sandersn in #27644 (comment)


useDefineForClassFields should be switched to true when targeting ESNext.

Metadata

Metadata

Assignees

Labels

Breaking ChangeWould introduce errors in existing codeES NextNew featurers for ECMAScript (a.k.a. ESNext)RescheduledThis issue was previously scheduled to an earlier milestoneSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions