We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99581fe commit 785cb55Copy full SHA for 785cb55
1 file changed
src/compiler/checker.ts
@@ -3327,6 +3327,8 @@ module ts {
3327
if (!links.resolvedType) {
3328
let type: Type;
3329
3330
+ // We don't currently support heritage clauses with complex expressions in them.
3331
+ // For these cases, we just set the type to be the unknownType.
3332
if (node.kind !== SyntaxKind.HeritageClauseElement || isSupportedHeritageClauseElement(<HeritageClauseElement>node)) {
3333
let typeNameOrExpression = node.kind === SyntaxKind.TypeReference
3334
? (<TypeReferenceNode>node).typeName
0 commit comments