UNPKG

1.21 kBTypeScriptView Raw
1// Type definitions for lodash-webpack-plugin 0.11
2// Project: https://github.com/lodash/lodash-webpack-plugin#readme
3// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 3.7
6
7import { Plugin } from 'webpack';
8
9export = LodashModuleReplacementPlugin;
10
11declare class LodashModuleReplacementPlugin extends Plugin {
12 constructor(options?: LodashModuleReplacementPlugin.Options);
13}
14
15declare namespace LodashModuleReplacementPlugin {
16 interface Options {
17 caching?: boolean | undefined;
18 chaining?: boolean | undefined;
19 cloning?: boolean | undefined;
20 coercions?: boolean | undefined;
21 collections?: boolean | undefined;
22 currying?: boolean | undefined;
23 deburring?: boolean | undefined;
24 exotics?: boolean | undefined;
25 flattening?: boolean | undefined;
26 guards?: boolean | undefined;
27 memoizing?: boolean | undefined;
28 metadata?: boolean | undefined;
29 paths?: boolean | undefined;
30 placeholders?: boolean | undefined;
31 shorthands?: boolean | undefined;
32 unicode?: boolean | undefined;
33 }
34}