mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
22 lines
540 B
TypeScript
22 lines
540 B
TypeScript
// Type definitions for happypack 5.0
|
|
// Project: https://github.com/amireh/happypack
|
|
// Definitions by: Akash Vishwakarma <https://github.com/akashishu777>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import { Plugin } from 'webpack';
|
|
|
|
export = happypack;
|
|
|
|
declare namespace happypack {
|
|
interface PluginOptions {
|
|
id?: string;
|
|
threads?: number;
|
|
loaders: any;
|
|
}
|
|
}
|
|
|
|
declare class happypack extends Plugin {
|
|
constructor(options: happypack.PluginOptions);
|
|
}
|