1 | // Type definitions for happypack 5.0
|
2 | // Project: https://github.com/amireh/happypack
|
3 | // Definitions by: Akash Vishwakarma <https://github.com/akashishu777>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 3.7
|
6 |
|
7 | import { Plugin } from 'webpack';
|
8 |
|
9 | export = happypack;
|
10 |
|
11 | declare namespace happypack {
|
12 | interface PluginOptions {
|
13 | id?: string | undefined;
|
14 | threads?: number | undefined;
|
15 | loaders: any;
|
16 | }
|
17 | }
|
18 |
|
19 | declare class happypack extends Plugin {
|
20 | constructor(options: happypack.PluginOptions);
|
21 | }
|