mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 20:10:21 -05:00
One more
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user