File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -3391,7 +3391,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
3391
3391
// 1. When result is undefined, after checking for a missing "this."
3392
3392
// 2. When result is defined
3393
3393
function checkAndReportErrorForInvalidInitializer() {
3394
- if (propertyWithInvalidInitializer && !( emitStandardClassFields) ) {
3394
+ if (propertyWithInvalidInitializer && !emitStandardClassFields) {
3395
3395
// We have a match, but the reference occurred within a property initializer and the identifier also binds
3396
3396
// to a local variable in the constructor where the code will be emitted. Note that this is actually allowed
3397
3397
// with emitStandardClassFields because the scope semantics are different.
You can’t perform that action at this time.
0 commit comments