Skip to content

Commit fcfc424

Browse files
committed
One more
1 parent 50892ac commit fcfc424

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
@@ -6904,7 +6904,7 @@ namespace ts {
69046904
.expression; // x
69056905
const classSymbol = checkExpression(className).symbol;
69066906
if (classSymbol && classSymbol.members) {
6907-
return createAnonymousType(undefined, classSymbol.members, emptyArray, emptyArray, /*stringIndexType*/ undefined, /*numberIndexType*/ undefined);
6907+
return getInferredClassType(classSymbol);
69086908
}
69096909
}
69106910
}

0 commit comments

Comments
 (0)