Add explanatory comment.
This commit is contained in:
parent
99581fe5ef
commit
785cb55977
1 changed files with 2 additions and 0 deletions
|
@ -3327,6 +3327,8 @@ module ts {
|
|||
if (!links.resolvedType) {
|
||||
let type: Type;
|
||||
|
||||
// We don't currently support heritage clauses with complex expressions in them.
|
||||
// For these cases, we just set the type to be the unknownType.
|
||||
if (node.kind !== SyntaxKind.HeritageClauseElement || isSupportedHeritageClauseElement(<HeritageClauseElement>node)) {
|
||||
let typeNameOrExpression = node.kind === SyntaxKind.TypeReference
|
||||
? (<TypeReferenceNode>node).typeName
|
||||
|
|
Loading…
Reference in a new issue