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

Function getTargetType

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

Source from the content-addressed store, hash-verified

56929 && type.target === target;
56930 }
56931 function getTargetType(type) {
56932 return ts.getObjectFlags(type) & 4 /* ObjectFlags.Reference */ ? type.target : type;
56933 }
56934 // TODO: GH#18217 If `checkBase` is undefined, we should not call this because this will always return false.
56935 function hasBaseType(type, checkBase) {
56936 return check(type);

Callers 5

checkFunction · 0.85
removeSubtypesFunction · 0.85
isTypeDerivedFromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected