MCPcopy Create free account
hub / github.com/nodejs/node / updateJSDocUnaryTypeWorker

Function updateJSDocUnaryTypeWorker

test/fixtures/snapshot/typescript.js:25621–25625  ·  view source on GitHub ↗
(kind, node, type)

Source from the content-addressed store, hash-verified

25619 // updateJSDocVariadicType
25620 // updateJSDocNamepathType
25621 function updateJSDocUnaryTypeWorker(kind, node, type) {
25622 return node.type !== type
25623 ? update(createJSDocUnaryTypeWorker(kind, type), node)
25624 : node;
25625 }
25626 // @api
25627 function createJSDocFunctionType(parameters, type) {
25628 var node = createBaseSignatureDeclaration(317 /* SyntaxKind.JSDocFunctionType */,

Callers 1

createNodeFactoryFunction · 0.85

Calls 2

updateFunction · 0.70

Tested by

no test coverage detected