2075f74fef
* useDefineForClassFields skips emit of ambient properties Previously: ```ts class C { declare p } ``` would incorrectly emit ```js class C { constructor() { Object.defineProperty(this, "p", { enumerable: true, configurable: true, writable: true, value: void 0 }); } } ``` when useDefineForClassFields was turned on (for targets <ESNext). * Fix bug for ESNext as well This moves the check earlier in the pipeline. * update baselines |
||
---|---|---|
.. | ||
classDeclarations | ||
classExpressions | ||
constructorDeclarations | ||
indexMemberDeclarations | ||
members | ||
methodDeclarations | ||
propertyMemberDeclarations | ||
awaitAndYieldInProperty.ts | ||
classExpression.ts | ||
mixinAccessModifiers.ts | ||
mixinClassesAnnotated.ts | ||
mixinClassesAnonymous.ts | ||
mixinClassesMembers.ts | ||
nestedClassDeclaration.ts |