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

Function updateConstructSignature

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

Source from the content-addressed store, hash-verified

23476 }
23477 // @api
23478 function updateConstructSignature(node, typeParameters, parameters, type) {
23479 return node.typeParameters !== typeParameters
23480 || node.parameters !== parameters
23481 || node.type !== type
23482 ? updateBaseSignatureDeclaration(createConstructSignature(typeParameters, parameters, type), node)
23483 : node;
23484 }
23485 // @api
23486 function createIndexSignature(decorators, modifiers, parameters, type) {
23487 var node = createBaseSignatureDeclaration(176 /* SyntaxKind.IndexSignature */, decorators, modifiers,

Callers

nothing calls this directly

Calls 2

createConstructSignatureFunction · 0.85

Tested by

no test coverage detected