Fix incorrect outDir usage instead of out

This commit is contained in:
Sheetal Nandi
2019-10-25 09:28:51 -07:00
parent d892fd408f
commit 06fda263f8
+1 -1
View File
@@ -1754,7 +1754,7 @@ namespace ts.server {
this.mapOfDeclarationDirectories = createMap();
this.projectReferenceCallbacks.forEachResolvedProjectReference(ref => {
if (!ref) return;
const out = ref.commandLine.options.outFile || ref.commandLine.options.outDir;
const out = ref.commandLine.options.outFile || ref.commandLine.options.out;
if (out) {
this.mapOfDeclarationDirectories!.set(getDirectoryPath(this.toPath(out)), true);
}