(symbol, enclosingDeclaration)
| 53905 | return initial; |
| 53906 | } |
| 53907 | function getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration) { |
| 53908 | return symbol.declarations && ts.find(symbol.declarations, function (s) { return !!ts.getEffectiveTypeAnnotationNode(s) && (!enclosingDeclaration || !!ts.findAncestor(s, function (n) { return n === enclosingDeclaration; })); }); |
| 53909 | } |
| 53910 | function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) { |
| 53911 | return !(ts.getObjectFlags(type) & 4 /* ObjectFlags.Reference */) || !ts.isTypeReferenceNode(existing) || ts.length(existing.typeArguments) >= getMinTypeArgumentCount(type.target.typeParameters); |
| 53912 | } |
no test coverage detected
searching dependent graphs…