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.
WarningFilter
1 parent 3c97d34 commit 2a79dbdCopy full SHA for 2a79dbd
packages/webpack/src/plugins/warning-ignore.ts
@@ -1,6 +1,6 @@
1
import type { Compiler, WebpackError } from 'webpack'
2
3
-export type WarningFilter = (warn: WebpackError) => boolean
+export type WarningFilter = (warn: WebpackError | Error) => boolean
4
5
export default class WarningIgnorePlugin {
6
filter: WarningFilter
0 commit comments