One more
This commit is contained in:
parent
50892acfd8
commit
fcfc424b49
1 changed files with 1 additions and 1 deletions
|
@ -6904,7 +6904,7 @@ namespace ts {
|
|||
.expression; // x
|
||||
const classSymbol = checkExpression(className).symbol;
|
||||
if (classSymbol && classSymbol.members) {
|
||||
return createAnonymousType(undefined, classSymbol.members, emptyArray, emptyArray, /*stringIndexType*/ undefined, /*numberIndexType*/ undefined);
|
||||
return getInferredClassType(classSymbol);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue