We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d766d commit e1fe960Copy full SHA for e1fe960
1 file changed
src/after-compile.ts
@@ -499,7 +499,7 @@ function removeCompilationTSLoaderErrors(
499
// Filter out ts-loader's own errors so they can be re-added fresh each
500
// compilation.
501
compilation.errors = compilation.errors.filter(
502
- error => error instanceof webpack.WebpackError && !isTSLoaderModuleError(error, loaderOptions)
+ error => !isTSLoaderModuleError(error as webpack.WebpackError, loaderOptions)
503
);
504
}
505
0 commit comments