mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Added ProgressPlugin definition (#14897)
This commit is contained in:
parent
f630485bb1
commit
62c57736f1
4
webpack/index.d.ts
vendored
4
webpack/index.d.ts
vendored
@ -747,6 +747,10 @@ declare namespace webpack {
|
||||
constructor(request: any);
|
||||
}
|
||||
|
||||
class ProgressPlugin extends Plugin {
|
||||
constructor(options?: (percentage: number, msg: string) => void);
|
||||
}
|
||||
|
||||
class ProvidePlugin extends Plugin {
|
||||
constructor(definitions: {[key: string]: any});
|
||||
}
|
||||
|
||||
@ -400,6 +400,7 @@ plugin = new webpack.WatchIgnorePlugin(paths);
|
||||
plugin = new webpack.LoaderOptionsPlugin({
|
||||
debug: true
|
||||
});
|
||||
plugin = new webpack.ProgressPlugin((percent: number, message: string) => {});
|
||||
|
||||
//
|
||||
// http://webpack.github.io/docs/node.js-api.html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user