PR feedback

This commit is contained in:
Ron Buckton committed 2017-08-11 16:15:28 -07:00
1 parent 115884aa30
commit 8ca66d3180
1 file changed
+1 -1
+1 -1
View File
@@ -16090,7 +16090,7 @@ namespace ts {
}
function getJavaScriptClassType(symbol: Symbol): Type | undefined {
if (symbol && isDeclarationOfFunctionOrClassExpression(symbol)) {
if (isDeclarationOfFunctionOrClassExpression(symbol)) {
symbol = getSymbolOfNode((<VariableDeclaration>symbol.valueDeclaration).initializer);
}
if (isJavaScriptConstructor(symbol.valueDeclaration)) {