Typescript - How to compile even if errors

As far as third party dependencies goes, you can ignore library checks. In your tsconfig.json, set compilerOptions.skipLibCheck: false.

The default behavior of the typescript compiler is (compilerOptions.noEmitOnError: false ), to produce .js output even if non serious errors occur.
Serious errors can not be ignored, because they may prevent the compiler from correctly interpreting your code.

2 Likes