fix(angular): emit typescript declaration diagnostics in ng-packagr executors (#11927)
This commit is contained in:
parent
308effab15
commit
c6520a1496
@ -154,6 +154,7 @@ export async function compileSourceFiles(
|
||||
for (const sourceFile of builder.getSourceFiles()) {
|
||||
if (!ignoreForDiagnostics.has(sourceFile)) {
|
||||
allDiagnostics.push(
|
||||
...builder.getDeclarationDiagnostics(sourceFile),
|
||||
...builder.getSyntacticDiagnostics(sourceFile),
|
||||
...builder.getSemanticDiagnostics(sourceFile)
|
||||
);
|
||||
|
||||
@ -151,6 +151,7 @@ export async function compileSourceFiles(
|
||||
for (const sourceFile of builder.getSourceFiles()) {
|
||||
if (!ignoreForDiagnostics.has(sourceFile)) {
|
||||
allDiagnostics.push(
|
||||
...builder.getDeclarationDiagnostics(sourceFile),
|
||||
...builder.getSyntacticDiagnostics(sourceFile),
|
||||
...builder.getSemanticDiagnostics(sourceFile)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user