Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Aug 25, 2017
1 parent ec8f5cf commit 9bb1915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Expand Up @@ -16344,7 +16344,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)) {
Expand Down

0 comments on commit 9bb1915

Please sign in to comment.