-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code
Description
According to the release notes and iteration plan, the private fields proposal for ECMAScript is supposed to be part of 3.7, but #30829 doesn't appear to be merged yet, and the actual syntax still causes an error. Is it still planned for the 3.7 release, or will it come later with a 3.7 patch (or 3.8)?
TypeScript Version: 3.7.0-beta
Search Terms: private fields, ecma private
Code
class FooBar {
#fizz: string = '';
private buzz: string = '';
}Expected behavior: This should be valid syntax in 3.7.0-beta, according to the release notes and issue tracker.
Actual behavior: This does not appear to be valid syntax in the beta.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code