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

Function getModeForResolutionAtIndex

test/fixtures/snapshot/typescript.js:116203–116209  ·  view source on GitHub ↗
(file, index)

Source from the content-addressed store, hash-verified

116201 }
116202 ts.getModeForFileReference = getModeForFileReference;
116203 function getModeForResolutionAtIndex(file, index) {
116204 if (file.impliedNodeFormat === undefined)
116205 return undefined;
116206 // we ensure all elements of file.imports and file.moduleAugmentations have the relevant parent pointers set during program setup,
116207 // so it's safe to use them even pre-bind
116208 return getModeForUsageLocation(file, getModuleNameStringLiteralAt(file, index));
116209 }
116210 ts.getModeForResolutionAtIndex = getModeForResolutionAtIndex;
116211 /* @internal */
116212 function isExclusivelyTypeOnlyImportOrExport(decl) {

Calls 2

getModeForUsageLocationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…