diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 14517ae3d6..41ad4f04eb 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -849,7 +849,7 @@ declare namespace webpack { } class NamedChunksPlugin extends Plugin { - constructor(); + constructor(nameResolver?: (chunk: any) => string | null ); } class NoEmitOnErrorsPlugin extends Plugin {