We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df98d9c commit 0c9c76aCopy full SHA for 0c9c76a
src/compiler/checker.ts
@@ -7552,7 +7552,7 @@ namespace ts {
7552
const containerObjectType = getJSContainerObjectType(symbol.valueDeclaration, symbol, container);
7553
return containerObjectType || getWidenedLiteralType(checkExpressionCached(container));
7554
}
7555
- let type = undefined;
+ let type;
7556
let definedInConstructor = false;
7557
let definedInMethod = false;
7558
// We use control flow analysis to determine the type of the property if the property qualifies as a constructor
0 commit comments