-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstore.d.ts
More file actions
18 lines (18 loc) · 771 Bytes
/
store.d.ts
File metadata and controls
18 lines (18 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { SelectSignature } from '@ngrx/core/operator/select';
import { Observer } from 'rxjs/Observer';
import { Observable } from 'rxjs/Observable';
import { Operator } from 'rxjs/Operator';
import { Action } from './dispatcher';
import { ActionReducer } from './reducer';
export declare class Store<T> extends Observable<T> implements Observer<Action> {
private _dispatcher;
private _reducer;
constructor(_dispatcher: Observer<Action>, _reducer: Observer<ActionReducer<any>>, state$: Observable<any>);
select: SelectSignature<T>;
lift<R>(operator: Operator<T, R>): Store<R>;
replaceReducer(reducer: ActionReducer<any>): void;
dispatch(action: Action): void;
next(action: Action): void;
error(err: any): void;
complete(): void;
}