UNPKG

@types/happypack

Version:
35 lines (26 loc) 971 B
# Installation > `npm install --save @types/happypack` # Summary This package contains type definitions for happypack (https://github.com/amireh/happypack). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/happypack. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/happypack/index.d.ts) ````ts 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); } ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 03:09:37 GMT * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack) # Credits These definitions were written by [Akash Vishwakarma](https://github.com/akashishu777).