mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Concat declaration error so we report them
This commit is contained in:
1 parent
5e53ba06cf
commit
70d267419b
1 file changed
+5
-1
@@ -973,7 +973,11 @@ namespace ts {
|
||||
}
|
||||
|
||||
if (diagnostics.length > 0 || declarationDiagnostics.length > 0) {
|
||||
return { diagnostics, sourceMaps: undefined, emitSkipped: true };
|
||||
return {
|
||||
diagnostics: concatenate(diagnostics, declarationDiagnostics),
|
||||
sourceMaps: undefined,
|
||||
emitSkipped: true
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user