Skip to content

Commit 78d8e2f

Browse files
committed
fix: Don't get compiler errors if they are ignored
Closes #1032
1 parent 3b6d18c commit 78d8e2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/converter/converter.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ export class Converter extends ChildableComponent<Application, ConverterComponen
387387
this.convertNode(context, sourceFile);
388388
});
389389

390+
if (this.application.ignoreCompilerErrors) {
391+
return [];
392+
}
393+
390394
let diagnostics = program.getOptionsDiagnostics().filter(isRelevantError);
391395
if (diagnostics.length) {
392396
return diagnostics;

0 commit comments

Comments
 (0)