UNPKG

1.95 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/lodash-webpack-plugin`
3
4# Summary
5This package contains type definitions for lodash-webpack-plugin (https://github.com/lodash/lodash-webpack-plugin#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash-webpack-plugin.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash-webpack-plugin/index.d.ts)
10````ts
11// Type definitions for lodash-webpack-plugin 0.11
12// Project: https://github.com/lodash/lodash-webpack-plugin#readme
13// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15// TypeScript Version: 3.7
16
17import { Plugin } from 'webpack';
18
19export = LodashModuleReplacementPlugin;
20
21declare class LodashModuleReplacementPlugin extends Plugin {
22 constructor(options?: LodashModuleReplacementPlugin.Options);
23}
24
25declare namespace LodashModuleReplacementPlugin {
26 interface Options {
27 caching?: boolean | undefined;
28 chaining?: boolean | undefined;
29 cloning?: boolean | undefined;
30 coercions?: boolean | undefined;
31 collections?: boolean | undefined;
32 currying?: boolean | undefined;
33 deburring?: boolean | undefined;
34 exotics?: boolean | undefined;
35 flattening?: boolean | undefined;
36 guards?: boolean | undefined;
37 memoizing?: boolean | undefined;
38 metadata?: boolean | undefined;
39 paths?: boolean | undefined;
40 placeholders?: boolean | undefined;
41 shorthands?: boolean | undefined;
42 unicode?: boolean | undefined;
43 }
44}
45
46````
47
48### Additional Details
49 * Last updated: Thu, 08 Jul 2021 16:23:48 GMT
50 * Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack)
51 * Global values: none
52
53# Credits
54These definitions were written by [Benjamin Lim](https://github.com/bumbleblym).
55
\No newline at end of file