This commit is contained in:
Ryan Cavanaugh committed 2015-12-09 11:18:40 -08:00
1 parent 50892acfd8
commit fcfc424b49
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}
}