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

Function getTopmostIndexedAccessType

test/fixtures/snapshot/typescript.js:53525–53530  ·  view source on GitHub ↗

* Given A[B][C][D], finds A[B]

(top)

Source from the content-addressed store, hash-verified

53523 * Given A[B][C][D], finds A[B]
53524 */
53525 function getTopmostIndexedAccessType(top) {
53526 if (ts.isIndexedAccessTypeNode(top.objectType)) {
53527 return getTopmostIndexedAccessType(top.objectType);
53528 }
53529 return top;
53530 }
53531 function getSpecifierForModuleSymbol(symbol, context, overrideImportMode) {
53532 var _a;
53533 var file = ts.getDeclarationOfKind(symbol, 305 /* SyntaxKind.SourceFile */);

Callers 1

symbolToTypeNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…