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

Function getAliasId

test/fixtures/snapshot/typescript.js:60187–60189  ·  view source on GitHub ↗
(aliasSymbol, aliasTypeArguments)

Source from the content-addressed store, hash-verified

60185 return result;
60186 }
60187 function getAliasId(aliasSymbol, aliasTypeArguments) {
60188 return aliasSymbol ? "@".concat(getSymbolId(aliasSymbol)) + (aliasTypeArguments ? ":".concat(getTypeListId(aliasTypeArguments)) : "") : "";
60189 }
60190 // This function is used to propagate certain flags when creating new object type references and union types.
60191 // It is only necessary to do so if a constituent type might be the undefined type, the null type, the type
60192 // of an object literal or the anyFunctionType. This is because there are operations in the type checker

Calls 3

getSymbolIdFunction · 0.85
getTypeListIdFunction · 0.85
concatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…