diff --git a/package.json b/package.json index eb57aff2..9791eb0a 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "dependencies": { "@types/html-minifier-terser": "^5.0.0", "@types/tapable": "^1.0.5", - "@types/webpack": "^4.41.22", "html-minifier-terser": "^5.0.1", "loader-utils": "2.0.0", "lodash": "^4.17.20", diff --git a/typings.d.ts b/typings.d.ts index 4b6d5dbc..b0a191da 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -1,5 +1,5 @@ import { AsyncSeriesWaterfallHook } from "tapable"; -import { Compiler, compilation } from 'webpack'; +import { Compiler, Compilation } from 'webpack'; import { Options as HtmlMinifierOptions } from "html-minifier-terser"; export = HtmlWebpackPlugin; @@ -9,7 +9,7 @@ declare class HtmlWebpackPlugin { apply(compiler: Compiler): void; - static getHooks(compilation: compilation.Compilation): HtmlWebpackPlugin.Hooks; + static getHooks(compilation: Compilation): HtmlWebpackPlugin.Hooks; /** * Static helper to create a tag object to be get injected into the dom