Skip to content

Commit 9bb1915

Browse files
committed
PR feedback
1 parent ec8f5cf commit 9bb1915

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
@@ -16344,7 +16344,7 @@ namespace ts {
1634416344
}
1634516345

1634616346
function getJavaScriptClassType(symbol: Symbol): Type | undefined {
16347-
if (symbol && isDeclarationOfFunctionOrClassExpression(symbol)) {
16347+
if (isDeclarationOfFunctionOrClassExpression(symbol)) {
1634816348
symbol = getSymbolOfNode((<VariableDeclaration>symbol.valueDeclaration).initializer);
1634916349
}
1635016350
if (isJavaScriptConstructor(symbol.valueDeclaration)) {

0 commit comments

Comments
 (0)