diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 1528a00279..ba0fb9cfc4 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -520,11 +520,11 @@ declare namespace webpack { } interface DefinePluginStatic { - new (definitions: any): Plugin; + new (definitions: {[key: string]: any}): Plugin; } interface ProvidePluginStatic { - new (definitions: any): Plugin; + new (definitions: {[key: string]: any}): Plugin; } interface SourceMapDevToolPluginStatic {