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

Function createUniqueESSymbolType

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

Source from the content-addressed store, hash-verified

63072 return links.resolvedType;
63073 }
63074 function createUniqueESSymbolType(symbol) {
63075 var type = createType(8192 /* TypeFlags.UniqueESSymbol */);
63076 type.symbol = symbol;
63077 type.escapedName = "__@".concat(type.symbol.escapedName, "@").concat(getSymbolId(type.symbol));
63078 return type;
63079 }
63080 function getESSymbolLikeTypeForNode(node) {
63081 if (ts.isValidESSymbolDeclaration(node)) {
63082 var symbol = ts.isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node);

Callers 1

Calls 3

createTypeFunction · 0.85
getSymbolIdFunction · 0.85
concatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…