colbyfayock / html-webpack-partials-plugin

🛠 Easy HTML partials for Webpack without a custom index!
MIT License
68 stars 20 forks source link

chore: added apply method type to HtmlWebpackPartialsPlugin class #43

Closed oh3vci closed 3 years ago

oh3vci commented 3 years ago

Fix type error below.

Type 'HtmlWebpackPartialsPlugin' is not assignable to type '((this: Compiler, compiler: Compiler) => void) | WebpackPluginInstance'.
Property 'apply' is missing in type 'HtmlWebpackPartialsPlugin' but required in type 'WebpackPluginInstance'.ts(2322)
colbyfayock commented 3 years ago

thanks @oh3vci!

@all-contributors please add @oh3vci for code

allcontributors[bot] commented 3 years ago

@colbyfayock

I've put up a pull request to add @oh3vci! :tada: