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

Function getTypeOfFuncClassEnumModule

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

Source from the content-addressed store, hash-verified

56754 undefined;
56755 }
56756 function getTypeOfFuncClassEnumModule(symbol) {
56757 var links = getSymbolLinks(symbol);
56758 var originalLinks = links;
56759 if (!links.type) {
56760 var expando = symbol.valueDeclaration && getSymbolOfExpando(symbol.valueDeclaration, /*allowDeclaration*/ false);
56761 if (expando) {
56762 var merged = mergeJSSymbols(symbol, expando);
56763 if (merged) {
56764 // note:we overwrite links because we just cloned the symbol
56765 symbol = links = merged;
56766 }
56767 }
56768 originalLinks.type = links.type = getTypeOfFuncClassEnumModuleWorker(symbol);
56769 }
56770 return links.type;
56771 }
56772 function getTypeOfFuncClassEnumModuleWorker(symbol) {
56773 var declaration = symbol.valueDeclaration;
56774 if (symbol.flags & 1536 /* SymbolFlags.Module */ && ts.isShorthandAmbientModuleSymbol(symbol)) {

Callers 2

getTypeOfSymbolFunction · 0.85

Calls 4

getSymbolLinksFunction · 0.85
getSymbolOfExpandoFunction · 0.85
mergeJSSymbolsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…