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

Function getBaseTypeVariableOfClass

test/fixtures/snapshot/typescript.js:56750–56755  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

56748 return links.writeType;
56749 }
56750 function getBaseTypeVariableOfClass(symbol) {
56751 var baseConstructorType = getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(symbol));
56752 return baseConstructorType.flags & 8650752 /* TypeFlags.TypeVariable */ ? baseConstructorType :
56753 baseConstructorType.flags & 2097152 /* TypeFlags.Intersection */ ? ts.find(baseConstructorType.types, function (t) { return !!(t.flags & 8650752 /* TypeFlags.TypeVariable */); }) :
56754 undefined;
56755 }
56756 function getTypeOfFuncClassEnumModule(symbol) {
56757 var links = getSymbolLinks(symbol);
56758 var originalLinks = links;

Callers 2

createAnonymousTypeNodeFunction · 0.85

Calls 3

findMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…