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

Function removeMissingType

test/fixtures/snapshot/typescript.js:67669–67671  ·  view source on GitHub ↗
(type, isOptional)

Source from the content-addressed store, hash-verified

67667 exprType;
67668 }
67669 function removeMissingType(type, isOptional) {
67670 return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type;
67671 }
67672 function containsMissingType(type) {
67673 return exactOptionalPropertyTypes && (type === missingType || type.flags & 1048576 /* TypeFlags.Union */ && containsType(type.types, missingType));
67674 }

Callers 6

typeReferenceToTypeNodeFunction · 0.85
elaborateElementwiseFunction · 0.85
propertiesRelatedToFunction · 0.85

Calls 1

removeTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…