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

Function createTupleTypeNode

test/fixtures/snapshot/typescript.js:23658–23663  ·  view source on GitHub ↗
(elements)

Source from the content-addressed store, hash-verified

23656 }
23657 // @api
23658 function createTupleTypeNode(elements) {
23659 var node = createBaseNode(184 /* SyntaxKind.TupleType */);
23660 node.elements = createNodeArray(parenthesizerRules().parenthesizeElementTypesOfTupleType(elements));
23661 node.transformFlags = 1 /* TransformFlags.ContainsTypeScript */;
23662 return node;
23663 }
23664 // @api
23665 function updateTupleTypeNode(node, elements) {
23666 return node.elements !== elements

Callers 1

updateTupleTypeNodeFunction · 0.85

Calls 2

createBaseNodeFunction · 0.85
createNodeArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…