Skip to content

Commit 88a8992

Browse files
author
Paul van Brenk
committed
CR Feedback
1 parent 340051f commit 88a8992

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/program.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ namespace ts {
10151015
let declarationDiagnostics: Diagnostic[] = [];
10161016

10171017
if (options.noEmit) {
1018-
return { diagnostics: declarationDiagnostics, sourceMaps: undefined, emittedFiles: [], emitSkipped: true };
1018+
return { diagnostics: declarationDiagnostics, sourceMaps: undefined, emittedFiles: undefined, emitSkipped: true };
10191019
}
10201020

10211021
// If the noEmitOnError flag is set, then check if we have any errors so far. If so,
@@ -1035,7 +1035,7 @@ namespace ts {
10351035
return {
10361036
diagnostics: concatenate(diagnostics, declarationDiagnostics),
10371037
sourceMaps: undefined,
1038-
emittedFiles: [],
1038+
emittedFiles: undefined,
10391039
emitSkipped: true
10401040
};
10411041
}

0 commit comments

Comments
 (0)