mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Fix outFile check (#44277)
This commit is contained in:
@@ -473,7 +473,7 @@ namespace ts {
|
||||
|
||||
// We want to ignore emit file check if file is not going to be emitted next to source file
|
||||
// In that case we follow config file inclusion rules
|
||||
if (options.outFile || options.outDir) return false;
|
||||
if (outFile(options) || options.outDir) return false;
|
||||
|
||||
// File if emitted next to input needs to be ignored
|
||||
if (fileExtensionIs(fileOrDirectoryPath, Extension.Dts)) {
|
||||
|
||||
Reference in New Issue
Block a user