-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.d.ts
35 lines (32 loc) · 975 Bytes
/
index.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
import { EventEmitter } from 'events'
type EE = EventEmitter
function pipeErrors<A = EE>(a: A): A
function pipeErrors<A = EE, B = EE>(a: A, b: B): B
function pipeErrors<A = EE, B = EE, C = EE>(a: A, b: B, c: C): C
function pipeErrors<A = EE, B = EE, C = EE, D = EE>(a: A, b: B, c: C, d: D): D
function pipeErrors<A = EE, B = EE, C = EE, D = EE, E = EE>(
a: A,
b: B,
c: C,
d: D,
e: E,
): E
function pipeErrors<A = EE, B = EE, C = EE, D = EE, E = EE, F = EE>(
a: A,
b: B,
c: C,
d: D,
e: E,
f: F,
): F
function pipeErrors<A = EE>(...a: [A]): A
function pipeErrors<A = EE, B = EE>(...a: [A, B]): B
function pipeErrors<A = EE, B = EE, C = EE>(...a: [A, B, C]): C
function pipeErrors<A = EE, B = EE, C = EE, D = EE>(...a: [A, B, C, D]): D
function pipeErrors<A = EE, B = EE, C = EE, D = EE, E = EE>(
...a: [A, B, C, D, E]
): E
function pipeErrors<A = EE, B = EE, C = EE, D = EE, E = EE, F = EE>(
...a: [A, B, C, D, E, F]
): F
export default pipeErrors