From 88a8992ce3c7338d1c3f61bb4e0a3202da581380 Mon Sep 17 00:00:00 2001 From: Paul van Brenk Date: Thu, 7 Apr 2016 15:29:11 -0700 Subject: [PATCH] CR Feedback --- src/compiler/program.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 056b2a4fc9a..f993eadd3e6 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1015,7 +1015,7 @@ namespace ts { let declarationDiagnostics: Diagnostic[] = []; if (options.noEmit) { - return { diagnostics: declarationDiagnostics, sourceMaps: undefined, emittedFiles: [], emitSkipped: true }; + return { diagnostics: declarationDiagnostics, sourceMaps: undefined, emittedFiles: undefined, emitSkipped: true }; } // If the noEmitOnError flag is set, then check if we have any errors so far. If so, @@ -1035,7 +1035,7 @@ namespace ts { return { diagnostics: concatenate(diagnostics, declarationDiagnostics), sourceMaps: undefined, - emittedFiles: [], + emittedFiles: undefined, emitSkipped: true }; }