UNPKG

1.77 kBTypeScriptView Raw
1// Type definitions for Lo-Dash 4.14
2// Project: https://lodash.com
3// Definitions by: Brian Zengel <https://github.com/bczengel>
4// Ilya Mochalov <https://github.com/chrootsu>
5// AJ Richardson <https://github.com/aj-r>
6// e-cloud <https://github.com/e-cloud>
7// Georgii Dolzhykov <https://github.com/thorn0>
8// Jack Moore <https://github.com/jtmthf>
9// Dominique Rau <https://github.com/DomiR>
10// William Chelman <https://github.com/WilliamChelman>
11// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
12
13/// <reference path="./common/common.d.ts" />
14/// <reference path="./common/array.d.ts" />
15/// <reference path="./common/collection.d.ts" />
16/// <reference path="./common/date.d.ts" />
17/// <reference path="./common/function.d.ts" />
18/// <reference path="./common/lang.d.ts" />
19/// <reference path="./common/math.d.ts" />
20/// <reference path="./common/number.d.ts" />
21/// <reference path="./common/object.d.ts" />
22/// <reference path="./common/seq.d.ts" />
23/// <reference path="./common/string.d.ts" />
24/// <reference path="./common/util.d.ts" />
25
26export = _;
27export as namespace _;
28
29declare const _: _.LoDashStatic;
30declare namespace _ {
31 // tslint:disable-next-line no-empty-interface (This will be augmented)
32 interface LoDashStatic {}
33}
34
35// Backward compatibility with --target es5
36declare global {
37 // tslint:disable-next-line:no-empty-interface
38 interface Set<T> { }
39 // tslint:disable-next-line:no-empty-interface
40 interface Map<K, V> { }
41 // tslint:disable-next-line:no-empty-interface
42 interface WeakSet<T> { }
43 // tslint:disable-next-line:no-empty-interface
44 interface WeakMap<K extends object, V> { }
45}