MCPcopy Index your code
hub / github.com/nodejs/node / maybeTypeParameterReference

Function maybeTypeParameterReference

test/fixtures/snapshot/typescript.js:63452–63455  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

63450 return type;
63451 }
63452 function maybeTypeParameterReference(node) {
63453 return !(node.parent.kind === 178 /* SyntaxKind.TypeReference */ && node.parent.typeArguments && node === node.parent.typeName ||
63454 node.parent.kind === 200 /* SyntaxKind.ImportType */ && node.parent.typeArguments && node === node.parent.qualifier);
63455 }
63456 function isTypeParameterPossiblyReferenced(tp, node) {
63457 // If the type parameter doesn't have exactly one declaration, if there are invening statement blocks
63458 // between the node and the type parameter declaration, if the node contains actual references to the

Callers 1

containsReferenceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected