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

Function updateJSDocSignature

test/fixtures/snapshot/typescript.js:25678–25684  ·  view source on GitHub ↗
(node, typeParameters, parameters, type)

Source from the content-addressed store, hash-verified

25676 }
25677 // @api
25678 function updateJSDocSignature(node, typeParameters, parameters, type) {
25679 return node.typeParameters !== typeParameters
25680 || node.parameters !== parameters
25681 || node.type !== type
25682 ? update(createJSDocSignature(typeParameters, parameters, type), node)
25683 : node;
25684 }
25685 function getDefaultTagName(node) {
25686 var defaultTagName = getDefaultTagNameForKind(node.kind);
25687 return node.tagName.escapedText === ts.escapeLeadingUnderscores(defaultTagName)

Callers

nothing calls this directly

Calls 2

createJSDocSignatureFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected