File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -12613,6 +12613,7 @@ namespace ts {
1261312613 if (baseTypes.length && produceDiagnostics) {
1261412614 let baseType = baseTypes[0];
1261512615 let staticBaseType = getBaseConstructorTypeOfClass(type);
12616+ checkSourceElement(baseTypeNode.expression);
1261612617 if (baseTypeNode.typeArguments) {
1261712618 forEach(baseTypeNode.typeArguments, checkSourceElement);
1261812619 for (let constructor of getConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments)) {
@@ -13682,6 +13683,8 @@ namespace ts {
1368213683 case SyntaxKind.VariableDeclaration:
1368313684 case SyntaxKind.VariableDeclarationList:
1368413685 case SyntaxKind.ClassDeclaration:
13686+ case SyntaxKind.HeritageClause:
13687+ case SyntaxKind.ExpressionWithTypeArguments:
1368513688 case SyntaxKind.EnumDeclaration:
1368613689 case SyntaxKind.EnumMember:
1368713690 case SyntaxKind.ExportAssignment:
You can’t perform that action at this time.
0 commit comments