Skip to content

Commit 537bd1b

Browse files
committed
Fix minor lint
1 parent cd1b183 commit 537bd1b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/compiler/binder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2522,7 +2522,6 @@ namespace ts {
25222522
constructorSymbol.members = constructorSymbol.members || createSymbolTable();
25232523
// It's acceptable for multiple 'this' assignments of the same identifier to occur
25242524
declareSymbol(constructorSymbol.members, constructorSymbol, node, SymbolFlags.Property, SymbolFlags.PropertyExcludes & ~SymbolFlags.Property);
2525-
// TODO: Also do this for Object.defineProperty assignments
25262525
addDeclarationToSymbol(constructorSymbol, constructorSymbol.valueDeclaration, SymbolFlags.Class);
25272526
}
25282527
break;

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18319,7 +18319,7 @@ namespace ts {
1831918319
// (should be able to use the symbol.parent trick instead)
1832018320
const classSymbol = checkExpression(className).symbol;
1832118321
if (classSymbol && classSymbol.members && (classSymbol.flags & SymbolFlags.Function)) {
18322-
const classType = (getDeclaredTypeOfSymbol(classSymbol) as InterfaceType).thisType!
18322+
const classType = (getDeclaredTypeOfSymbol(classSymbol) as InterfaceType).thisType!;
1832318323
return getFlowTypeOfReference(node, classType);
1832418324
}
1832518325
}

0 commit comments

Comments
 (0)