Give more specific definition to DefinePlugin and ProvidePlugin

This commit is contained in:
Diogo Franco (Kovensky)
2016-12-01 11:51:16 +09:00
parent 290d0984f8
commit 404687e0b7
+2 -2
View File
@@ -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 {