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

Function getTypeOfDestructuredSpreadExpression

test/fixtures/snapshot/typescript.js:69709–69711  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

69707 type;
69708 }
69709 function getTypeOfDestructuredSpreadExpression(type) {
69710 return createArrayType(checkIteratedTypeOrElementType(65 /* IterationUse.Destructuring */, type, undefinedType, /*errorNode*/ undefined) || errorType);
69711 }
69712 function getAssignedTypeOfBinaryExpression(node) {
69713 var isDestructuringDefaultAssignment = node.parent.kind === 204 /* SyntaxKind.ArrayLiteralExpression */ && isDestructuringAssignmentTarget(node.parent) ||
69714 node.parent.kind === 296 /* SyntaxKind.PropertyAssignment */ && isDestructuringAssignmentTarget(node.parent.parent);

Calls 2

createArrayTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…