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

Function updateTypeReferenceNode

test/fixtures/snapshot/typescript.js:23550–23555  ·  view source on GitHub ↗
(node, typeName, typeArguments)

Source from the content-addressed store, hash-verified

23548 }
23549 // @api
23550 function updateTypeReferenceNode(node, typeName, typeArguments) {
23551 return node.typeName !== typeName
23552 || node.typeArguments !== typeArguments
23553 ? update(createTypeReferenceNode(typeName, typeArguments), node)
23554 : node;
23555 }
23556 // @api
23557 function createFunctionTypeNode(typeParameters, parameters, type) {
23558 var node = createBaseSignatureDeclaration(179 /* SyntaxKind.FunctionType */,

Callers

nothing calls this directly

Calls 2

createTypeReferenceNodeFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected