Skip to content

Commit 4a101f4

Browse files
Merge pull request #58 from wingrunr21/fix_typescript_types
Add constructor definition to TS type
2 parents b661380 + c477719 commit 4a101f4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { Plugin } from 'webpack';
2+
import HtmlWebpackPlugin from 'html-webpack-plugin';
23

34
export = HtmlWebpackInlineSourcePlugin;
4-
declare class HtmlWebpackInlineSourcePlugin extends Plugin { }
5+
declare class HtmlWebpackInlineSourcePlugin extends Plugin {
6+
constructor(htmlWebpackPlugin: HtmlWebpackPlugin)
7+
}
58
declare namespace HtmlWebpackInlineSourcePlugin { }

0 commit comments

Comments
 (0)