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

Function createConstructorTypeNode

test/fixtures/snapshot/typescript.js:23574–23582  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23572 }
23573 // @api
23574 function createConstructorTypeNode() {
23575 var args = [];
23576 for (var _i = 0; _i < arguments.length; _i++) {
23577 args[_i] = arguments[_i];
23578 }
23579 return args.length === 4 ? createConstructorTypeNode1.apply(void 0, args) :
23580 args.length === 3 ? createConstructorTypeNode2.apply(void 0, args) :
23581 ts.Debug.fail("Incorrect number of arguments specified.");
23582 }
23583 function createConstructorTypeNode1(modifiers, typeParameters, parameters, type) {
23584 var node = createBaseSignatureDeclaration(180 /* SyntaxKind.ConstructorType */,
23585 /*decorators*/ undefined, modifiers,

Callers 1

Calls 2

applyMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected