-
Notifications
You must be signed in to change notification settings - Fork 4
/
rxjs-typings.d.ts
36 lines (30 loc) · 1.04 KB
/
rxjs-typings.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 { TcombUpdate, TcombUpdatesState, Token } from './lib'
import { Observable } from 'rxjs'
import { ComponentSinks, ComponentSources } from './lib/plugins';
declare module './lib' {
interface DriverExecution {
token: Token
updates: Observable<TcombUpdatesState>
responses: Observable<any>
events (eventName: string): Observable<TcombUpdate>
dispose (): void
}
}
declare module './lib/plugins' {
interface PluginsExecution {
matchWith (this: Observable<TcombUpdate>,
plugins: Plugin[],
sources: ComponentSources,
{dupe}?: {dupe?: boolean}): Observable<ComponentSinks>
matchStream (sourceObservable: Observable<TcombUpdate>,
...args: any[]): Observable<ComponentSinks>
}
interface matchWith {
(this: Observable<TcombUpdate>,
plugins: Plugin[],
sources: ComponentSources,
{dupe}?: {dupe?: boolean}): Observable<ComponentSinks> }
interface matchStream {
(sourceObservable: Observable<TcombUpdate>,
...args: any[]): Observable<ComponentSinks> }
}