From 404687e0b75db1ae3dfb294dedc256f956cb38b7 Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Mon, 21 Nov 2016 17:24:07 +0900 Subject: [PATCH] Give more specific definition to DefinePlugin and ProvidePlugin --- webpack/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {