arthurbergmz / webpack-pwa-manifest

Progressive Web App Manifest Generator for Webpack, with auto icon resizing and fingerprinting support.
MIT License
514 stars 94 forks source link

types: add apply property #151

Open garand opened 3 years ago

garand commented 3 years ago

TypeScript is complaining when using this plugin with this error:

Property 'apply' is missing in type 'WebpackPwaManifest' but required in type 'WebpackPluginInstance'

html-webpack-plugin had this same problem and was solved with this PR.

I've mirrored that change here, and manually in my node_modules/webpack-pwa-manifest/index.d.ts file for testing, and it has fixed the error.