MCPcopy Create free account
hub / github.com/nodejs/node / shouldEmitAliasDeclaration

Function shouldEmitAliasDeclaration

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

Source from the content-addressed store, hash-verified

94247 return ts.isPropertyAccessExpression(node) || ts.isElementAccessExpression(node) ? resolver.getConstantValue(node) : undefined;
94248 }
94249 function shouldEmitAliasDeclaration(node) {
94250 return compilerOptions.preserveValueImports
94251 ? resolver.isValueAliasDeclaration(node)
94252 : resolver.isReferencedAliasDeclaration(node);
94253 }
94254 }
94255 ts.transformTypeScript = transformTypeScript;
94256})(ts || (ts = {}));

Callers 5

visitImportClauseFunction · 0.85
visitNamedImportBindingsFunction · 0.85
visitImportSpecifierFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected