UNPKG

1.85 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// Stepan Mikhaylyuk <https://github.com/stepancar>,
6// AJ Richardson <https://github.com/aj-r>,
7// e-cloud <https://github.com/e-cloud>,
8// Georgii Dolzhykov <https://github.com/thorn0>,
9// Jack Moore <https://github.com/jtmthf>,
10// Dominique Rau <https://github.com/DomiR>
11// William Chelman <https://github.com/WilliamChelman>
12// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
13
14/// <reference path="./common/common.d.ts" />
15/// <reference path="./common/array.d.ts" />
16/// <reference path="./common/collection.d.ts" />
17/// <reference path="./common/date.d.ts" />
18/// <reference path="./common/function.d.ts" />
19/// <reference path="./common/lang.d.ts" />
20/// <reference path="./common/math.d.ts" />
21/// <reference path="./common/number.d.ts" />
22/// <reference path="./common/object.d.ts" />
23/// <reference path="./common/seq.d.ts" />
24/// <reference path="./common/string.d.ts" />
25/// <reference path="./common/util.d.ts" />
26
27export = _;
28export as namespace _;
29
30declare const _: _.LoDashStatic;
31declare namespace _ {
32 // tslint:disable-next-line no-empty-interface (This will be augmented)
33 interface LoDashStatic {}
34}
35
36// Backward compatibility with --target es5
37declare global {
38 // tslint:disable-next-line:no-empty-interface
39 interface Set<T> { }
40 // tslint:disable-next-line:no-empty-interface
41 interface Map<K, V> { }
42 // tslint:disable-next-line:no-empty-interface
43 interface WeakSet<T> { }
44 // tslint:disable-next-line:no-empty-interface
45 interface WeakMap<K extends object, V> { }
46}