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

Function includeUndefinedInIndexSignature

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

Source from the content-addressed store, hash-verified

69700 errorType;
69701 }
69702 function includeUndefinedInIndexSignature(type) {
69703 if (!type)
69704 return type;
69705 return compilerOptions.noUncheckedIndexedAccess ?
69706 getUnionType([type, undefinedType]) :
69707 type;
69708 }
69709 function getTypeOfDestructuredSpreadExpression(type) {
69710 return createArrayType(checkIteratedTypeOrElementType(65 /* IterationUse.Destructuring */, type, undefinedType, /*errorNode*/ undefined) || errorType);
69711 }

Calls 1

getUnionTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…