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

Function getDeclarationEmitOutputFilePath

test/fixtures/snapshot/typescript.js:18418–18420  ·  view source on GitHub ↗
(fileName, host)

Source from the content-addressed store, hash-verified

18416 }
18417 ts.getOwnEmitOutputFilePath = getOwnEmitOutputFilePath;
18418 function getDeclarationEmitOutputFilePath(fileName, host) {
18419 return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host.getCurrentDirectory(), host.getCommonSourceDirectory(), function (f) { return host.getCanonicalFileName(f); });
18420 }
18421 ts.getDeclarationEmitOutputFilePath = getDeclarationEmitOutputFilePath;
18422 function getDeclarationEmitOutputFilePathWorker(fileName, options, currentDirectory, commonSourceDirectory, getCanonicalFileName) {
18423 var outputDir = options.declarationDir || options.outDir; // Prefer declaration folder if specified

Callers

nothing calls this directly

Tested by

no test coverage detected