Skip to content

Commit 8a7c753

Browse files
committed
clean code
1 parent a2dabce commit 8a7c753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,7 +3391,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
33913391
// 1. When result is undefined, after checking for a missing "this."
33923392
// 2. When result is defined
33933393
function checkAndReportErrorForInvalidInitializer() {
3394-
if (propertyWithInvalidInitializer && !(emitStandardClassFields)) {
3394+
if (propertyWithInvalidInitializer && !emitStandardClassFields) {
33953395
// We have a match, but the reference occurred within a property initializer and the identifier also binds
33963396
// to a local variable in the constructor where the code will be emitted. Note that this is actually allowed
33973397
// with emitStandardClassFields because the scope semantics are different.

0 commit comments

Comments
 (0)