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

Function updateJSDocFunctionType

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

Source from the content-addressed store, hash-verified

25634 }
25635 // @api
25636 function updateJSDocFunctionType(node, parameters, type) {
25637 return node.parameters !== parameters
25638 || node.type !== type
25639 ? update(createJSDocFunctionType(parameters, type), node)
25640 : node;
25641 }
25642 // @api
25643 function createJSDocTypeLiteral(propertyTags, isArrayType) {
25644 if (isArrayType === void 0) { isArrayType = false; }

Callers

nothing calls this directly

Calls 2

createJSDocFunctionTypeFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected