CR Feedback

This commit is contained in:
Paul van Brenk
2016-04-07 15:29:11 -07:00
parent 340051f4f5
commit 88a8992ce3

View File

@@ -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
};
}