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

Function resolveTripleslashReference

test/fixtures/snapshot/typescript.js:115727–115731  ·  view source on GitHub ↗
(moduleName, containingFile)

Source from the content-addressed store, hash-verified

115725 }
115726 ts.findConfigFile = findConfigFile;
115727 function resolveTripleslashReference(moduleName, containingFile) {
115728 var basePath = ts.getDirectoryPath(containingFile);
115729 var referencedFileName = ts.isRootedDiskPath(moduleName) ? moduleName : ts.combinePaths(basePath, moduleName);
115730 return ts.normalizePath(referencedFileName);
115731 }
115732 ts.resolveTripleslashReference = resolveTripleslashReference;
115733 /* @internal */
115734 function computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) {

Callers 2

processReferencedFilesFunction · 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…