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

Function updateConstructorTypeNode1

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

Source from the content-addressed store, hash-verified

23602 ts.Debug.fail("Incorrect number of arguments specified.");
23603 }
23604 function updateConstructorTypeNode1(node, modifiers, typeParameters, parameters, type) {
23605 return node.modifiers !== modifiers
23606 || node.typeParameters !== typeParameters
23607 || node.parameters !== parameters
23608 || node.type !== type
23609 ? updateBaseSignatureDeclaration(createConstructorTypeNode(modifiers, typeParameters, parameters, type), node)
23610 : node;
23611 }
23612 /** @deprecated */
23613 function updateConstructorTypeNode2(node, typeParameters, parameters, type) {
23614 return updateConstructorTypeNode1(node, node.modifiers, typeParameters, parameters, type);

Callers 1

Calls 2

Tested by

no test coverage detected