diff --git a/index.d.ts b/index.d.ts index 8095db4..d46a00b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,4 @@ -import { Plugin } from 'webpack'; +import { Compiler, Plugin } from 'webpack'; declare class GeneratePackageJsonPlugin extends Plugin { constructor( @@ -16,6 +16,7 @@ declare class GeneratePackageJsonPlugin extends Plugin { excludeDependencies?: string[]; }, ); + apply(compiler: Compiler): void; } export = GeneratePackageJsonPlugin;