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

Function getTypeOnlyAliasDeclaration

test/fixtures/snapshot/typescript.js:50889–50895  ·  view source on GitHub ↗

Indicates that a symbol directly or indirectly resolves to a type-only import or export.

(symbol)

Source from the content-addressed store, hash-verified

50887 }
50888 /** Indicates that a symbol directly or indirectly resolves to a type-only import or export. */
50889 function getTypeOnlyAliasDeclaration(symbol) {
50890 if (!(symbol.flags & 2097152 /* SymbolFlags.Alias */)) {
50891 return undefined;
50892 }
50893 var links = getSymbolLinks(symbol);
50894 return links.typeOnlyDeclaration || undefined;
50895 }
50896 function markExportAsReferenced(node) {
50897 var symbol = getSymbolOfNode(node);
50898 var target = resolveAlias(symbol);

Calls 1

getSymbolLinksFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…