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

Function updateBaseSignatureDeclaration

test/fixtures/snapshot/typescript.js:22835–22840  ·  view source on GitHub ↗
(updated, original)

Source from the content-addressed store, hash-verified

22833 return node;
22834 }
22835 function updateBaseSignatureDeclaration(updated, original) {
22836 // copy children used only for error reporting
22837 if (original.typeArguments)
22838 updated.typeArguments = original.typeArguments;
22839 return update(updated, original);
22840 }
22841 function createBaseFunctionLikeDeclaration(kind, decorators, modifiers, name, typeParameters, parameters, type, body) {
22842 var node = createBaseSignatureDeclaration(kind, decorators, modifiers, name, typeParameters, parameters, type);
22843 node.body = body;

Callers 7

updateMethodSignatureFunction · 0.85
updateCallSignatureFunction · 0.85
updateConstructSignatureFunction · 0.85
updateIndexSignatureFunction · 0.85
updateFunctionTypeNodeFunction · 0.85

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected