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

Function getResolvedExternalModuleName

test/fixtures/snapshot/typescript.js:18373–18375  ·  view source on GitHub ↗
(host, file, referenceFile)

Source from the content-addressed store, hash-verified

18371 }
18372 ts.hostGetCanonicalFileName = hostGetCanonicalFileName;
18373 function getResolvedExternalModuleName(host, file, referenceFile) {
18374 return file.moduleName || getExternalModuleNameFromPath(host, file.fileName, referenceFile && referenceFile.fileName);
18375 }
18376 ts.getResolvedExternalModuleName = getResolvedExternalModuleName;
18377 function getCanonicalAbsolutePath(host, path) {
18378 return host.getCanonicalFileName(ts.getNormalizedAbsolutePath(path, host.getCurrentDirectory()));

Callers 1

Calls 1

Tested by

no test coverage detected