Skip to content

Commit 8ca66d3

Browse files
committed
PR feedback
1 parent 115884a commit 8ca66d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16090,7 +16090,7 @@ namespace ts {
1609016090
}
1609116091

1609216092
function getJavaScriptClassType(symbol: Symbol): Type | undefined {
16093-
if (symbol && isDeclarationOfFunctionOrClassExpression(symbol)) {
16093+
if (isDeclarationOfFunctionOrClassExpression(symbol)) {
1609416094
symbol = getSymbolOfNode((<VariableDeclaration>symbol.valueDeclaration).initializer);
1609516095
}
1609616096
if (isJavaScriptConstructor(symbol.valueDeclaration)) {

0 commit comments

Comments
 (0)