-
Notifications
You must be signed in to change notification settings - Fork 15
/
es.d.ts
80 lines (80 loc) · 2.62 KB
/
es.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
export default rubico;
declare namespace rubico {
export { pipe };
export { compose };
export { tap };
export { forEach };
export { switchCase };
export { tryCatch };
export { all };
export { assign };
export { get };
export { set };
export { pick };
export { omit };
export { map };
export { filter };
export { flatMap };
export { reduce };
export { transform };
export { and };
export { or };
export { not };
export { some };
export { every };
export { eq };
export { gt };
export { lt };
export { gte };
export { lte };
export { thunkify };
export { always };
export { curry };
export { __ };
}
declare function pipe(...args: any[]): any;
declare function compose(...args: any[]): any;
declare function tap(...args: any[]): any;
declare namespace tap {
function _if(predicate: any, func: any): (...args: any[]) => any;
export { _if as if };
}
declare function forEach(...args: any[]): any;
declare function switchCase(...args: any[]): any;
declare function tryCatch(...args: any[]): any;
declare function all(...args: any[]): any;
declare namespace all {
function series(...args: any[]): any;
}
declare function assign(arg0: any, arg1: any): any;
declare function get(arg0: any, arg1: any, arg2: any): any;
declare function set(arg0: any, arg1: any, arg2: any): any;
declare function pick(arg0: any, arg1: any): any;
declare function omit(arg0: any, arg1: any): any;
declare function map(...args: any[]): any;
declare namespace map {
function entries(mapper: any): (value: any) => any;
function series(mapper: any): (value: any) => any;
function pool(concurrencyLimit: any, mapper: any): (value: any) => any[] | Promise<any>;
}
declare function filter(...args: any[]): any;
declare function flatMap(...args: any[]): any;
declare function reduce(...args: any[]): any;
declare function transform(...args: any[]): any;
declare function and(...args: any[]): any;
declare function or(...args: any[]): any;
declare function not(...args: any[]): any;
declare function some(...args: any[]): any;
declare function every(...args: any[]): any;
declare function eq(...args: any[]): any;
declare function gt(...args: any[]): any;
declare function lt(...args: any[]): any;
declare function gte(...args: any[]): any;
declare function lte(...args: any[]): any;
declare function thunkify(func: any, ...args: any[]): () => any;
declare function always(value: any): () => any;
declare function curry(func: any, ...args: any[]): any;
declare namespace curry {
function arity(arity: any, func: any, ...args: any[]): any;
}
declare const __: any;