$ cnpm install @types/happypack
npm install --save @types/happypack
This package contains type definitions for happypack (https://github.com/amireh/happypack).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/happypack.
// 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: 3.7
import { Plugin } from 'webpack';
export = happypack;
declare namespace happypack {
interface PluginOptions {
id?: string | undefined;
threads?: number | undefined;
loaders: any;
}
}
declare class happypack extends Plugin {
constructor(options: happypack.PluginOptions);
}
These definitions were written by Akash Vishwakarma.
Copyright 2013 - present © cnpmjs.org | Home |