Skip to content
Prev Previous commit
Next Next commit
Fix lint error
  • Loading branch information
ahejlsberg committed Apr 14, 2020
commit 0c9c76a14a8e0d61fe410e2633f52f8e1f68ce05
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7552,7 +7552,7 @@ namespace ts {
const containerObjectType = getJSContainerObjectType(symbol.valueDeclaration, symbol, container);
return containerObjectType || getWidenedLiteralType(checkExpressionCached(container));
}
let type = undefined;
let type;
let definedInConstructor = false;
let definedInMethod = false;
// We use control flow analysis to determine the type of the property if the property qualifies as a constructor
Expand Down