Skip to content

Commit ae5db9c

Browse files
committed
Fix lint
1 parent 0751699 commit ae5db9c

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
@@ -2196,7 +2196,7 @@ namespace ts {
21962196
}
21972197
return undefined;
21982198
}
2199-
2199+
22002200
if (propertyWithInvalidInitializer && !(getEmitScriptTarget(compilerOptions) === ScriptTarget.ESNext && useDefineForClassFields)) {
22012201
// We have a match, but the reference occurred within a property initializer and the identifier also binds
22022202
// to a local variable in the constructor where the code will be emitted. Note that this is actually allowed

0 commit comments

Comments
 (0)