mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-29 00:51:29 +08:00
22 lines
788 B
TypeScript
22 lines
788 B
TypeScript
// Type definitions for duplicate-package-checker-webpack-plugin 1.2
|
|
// Project: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#readme
|
|
// Definitions by: Matt Traynham <https://github.com/mtraynham>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import webpack = require('webpack');
|
|
|
|
export = DuplicatePackageCheckerWebpackPlugin;
|
|
|
|
declare class DuplicatePackageCheckerWebpackPlugin extends webpack.Plugin {
|
|
constructor(options?: DuplicatePackageCheckerWebpackPlugin.Options);
|
|
}
|
|
|
|
declare namespace DuplicatePackageCheckerWebpackPlugin {
|
|
interface Options {
|
|
// Also show module that is requiring each duplicate package
|
|
verbose?: boolean;
|
|
// Emit errors instead of warnings
|
|
emitError?: boolean;
|
|
}
|
|
}
|