Make errorHandler optional in accept(self)

This commit is contained in:
Sergey Slipchenko 2021-11-13 10:23:04 +03:00
parent 81f6c5b61c
commit 4e135a4a04
1 changed files with 1 additions and 1 deletions

2
module.d.ts vendored
View File

@ -104,7 +104,7 @@ declare namespace webpack {
) => void
): void;
(
errorHandler: (
errorHandler?: (
err: Error,
ids: { moduleId: string | number; module: NodeJS.Module }
) => void