Browse Source

fix any in vendored typings for duplicate checker

Nicholas Bollweg 4 years ago
parent
commit
d6f68a93a9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      builder/src/duplicate-package-checker-webpack-plugin.d.ts

+ 3 - 1
builder/src/duplicate-package-checker-webpack-plugin.d.ts

@@ -13,11 +13,13 @@ declare module 'duplicate-package-checker-webpack-plugin';
 
 // Then we expand the definition with the things we use.
 declare module 'duplicate-package-checker-webpack-plugin' {
+  import * as webpack from 'webpack';
+
   export = DuplicatePackageCheckerWebpackPlugin;
 
   class DuplicatePackageCheckerWebpackPlugin {
     constructor(options?: DuplicatePackageCheckerWebpackPlugin.Options);
-    apply(compiler: any): void;
+    apply(compiler: webpack.Compiler): void;
   }
 
   namespace DuplicatePackageCheckerWebpackPlugin {