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

Function getNonNullableType

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

Source from the content-addressed store, hash-verified

67650 reducedType;
67651 }
67652 function getNonNullableType(type) {
67653 return strictNullChecks ? getGlobalNonNullableTypeInstantiation(type) : type;
67654 }
67655 function addOptionalTypeMarker(type) {
67656 return strictNullChecks ? getUnionType([type, optionalType]) : type;
67657 }

Tested by

no test coverage detected