Skip to content

Commit 06fda26

Browse files
committed
Fix incorrect outDir usage instead of out
1 parent d892fd4 commit 06fda26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/project.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ namespace ts.server {
17541754
this.mapOfDeclarationDirectories = createMap();
17551755
this.projectReferenceCallbacks.forEachResolvedProjectReference(ref => {
17561756
if (!ref) return;
1757-
const out = ref.commandLine.options.outFile || ref.commandLine.options.outDir;
1757+
const out = ref.commandLine.options.outFile || ref.commandLine.options.out;
17581758
if (out) {
17591759
this.mapOfDeclarationDirectories!.set(getDirectoryPath(this.toPath(out)), true);
17601760
}

0 commit comments

Comments
 (0)