From 8b7255f555423dd1bfa51a3c28700e4bd116f97b Mon Sep 17 00:00:00 2001 From: Zac St Louis Date: Sat, 13 Jul 2019 15:30:45 -0700 Subject: [PATCH] fix(typings.d.ts): added apply method type to HtmlWwbpackPlugin class definitoin jantimon#1244 --- typings.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typings.d.ts b/typings.d.ts index a3c3a619..df0e68e2 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -1,10 +1,13 @@ import { AsyncSeriesWaterfallHook } from "tapable"; +import { Compiler } from 'webpack'; import { Options as HtmlMinifierOptions } from "html-minifier"; export = HtmlWebpackPlugin; declare class HtmlWebpackPlugin { constructor(options?: HtmlWebpackPlugin.Options); + + apply(compiler: Compiler): void; } declare namespace HtmlWebpackPlugin {