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

Function getFileReferencesForUsedTypeReferences

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

Source from the content-addressed store, hash-verified

108340 return ts.map(ts.arrayFrom(libs.keys()), function (lib) { return ({ fileName: lib, pos: -1, end: -1 }); });
108341 }
108342 function getFileReferencesForUsedTypeReferences() {
108343 return necessaryTypeReferences ? ts.mapDefined(ts.arrayFrom(necessaryTypeReferences.keys()), getFileReferenceForSpecifierModeTuple) : [];
108344 }
108345 function getFileReferenceForSpecifierModeTuple(_a) {
108346 var typeName = _a[0], mode = _a[1];
108347 // Elide type references for which we have imports

Callers 1

transformRootFunction · 0.85

Calls 1

keysMethod · 0.65

Tested by

no test coverage detected