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

Function getESSymbolLikeTypeForNode

test/fixtures/snapshot/typescript.js:63080–63089  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

63078 return type;
63079 }
63080 function getESSymbolLikeTypeForNode(node) {
63081 if (ts.isValidESSymbolDeclaration(node)) {
63082 var symbol = ts.isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node);
63083 if (symbol) {
63084 var links = getSymbolLinks(symbol);
63085 return links.uniqueESSymbolType || (links.uniqueESSymbolType = createUniqueESSymbolType(symbol));
63086 }
63087 }
63088 return esSymbolType;
63089 }
63090 function getThisType(node) {
63091 var container = ts.getThisContainer(node, /*includeArrowFunctions*/ false);
63092 var parent = container && container.parent;

Callers 3

checkCallExpressionFunction · 0.85

Calls 3

getSymbolOfNodeFunction · 0.85
getSymbolLinksFunction · 0.85
createUniqueESSymbolTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…