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

Function getOutputPathWithoutChangingExt

test/fixtures/snapshot/typescript.js:110083–110087  ·  view source on GitHub ↗
(inputFileName, configFile, ignoreCase, outputDir, getCommonSourceDirectory)

Source from the content-addressed store, hash-verified

110081 }
110082 ts.getOutputExtension = getOutputExtension;
110083 function getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, outputDir, getCommonSourceDirectory) {
110084 return outputDir ?
110085 ts.resolvePath(outputDir, ts.getRelativePathFromDirectory(getCommonSourceDirectory ? getCommonSourceDirectory() : getCommonSourceDirectoryOfConfig(configFile, ignoreCase), inputFileName, ignoreCase)) :
110086 inputFileName;
110087 }
110088 /* @internal */
110089 function getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory) {
110090 return ts.changeExtension(getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, configFile.options.declarationDir || configFile.options.outDir, getCommonSourceDirectory), ts.getDeclarationEmitExtensionForPath(inputFileName));

Callers 2

getOutputJSFileNameFunction · 0.85

Calls 2

getCommonSourceDirectoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…