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

Function usageInTypeDeclaration

test/fixtures/snapshot/typescript.js:49478–49480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49476 }
49477 return false;
49478 function usageInTypeDeclaration() {
49479 return !!ts.findAncestor(usage, function (node) { return ts.isInterfaceDeclaration(node) || ts.isTypeAliasDeclaration(node); });
49480 }
49481 function isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration, usage) {
49482 switch (declaration.parent.parent.kind) {
49483 case 237 /* SyntaxKind.VariableStatement */:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected