(fileName, host, extension)
| 18404 | } |
| 18405 | ts.getExternalModuleNameFromPath = getExternalModuleNameFromPath; |
| 18406 | function getOwnEmitOutputFilePath(fileName, host, extension) { |
| 18407 | var compilerOptions = host.getCompilerOptions(); |
| 18408 | var emitOutputFilePathWithoutExtension; |
| 18409 | if (compilerOptions.outDir) { |
| 18410 | emitOutputFilePathWithoutExtension = removeFileExtension(getSourceFilePathInNewDir(fileName, host, compilerOptions.outDir)); |
| 18411 | } |
| 18412 | else { |
| 18413 | emitOutputFilePathWithoutExtension = removeFileExtension(fileName); |
| 18414 | } |
| 18415 | return emitOutputFilePathWithoutExtension + extension; |
| 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); }); |
nothing calls this directly
no test coverage detected