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

Function getWidenedType

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

Source from the content-addressed store, hash-verified

67834 return result;
67835 }
67836 function getWidenedType(type) {
67837 return getWidenedTypeWithContext(type, /*context*/ undefined);
67838 }
67839 function getWidenedTypeWithContext(type, context) {
67840 if (ts.getObjectFlags(type) & 196608 /* ObjectFlags.RequiresWidening */) {
67841 if (context === undefined && type.widened) {

Calls 1

Tested by

no test coverage detected