-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathng2.d.ts
21 lines (21 loc) · 1.09 KB
/
ng2.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { Reducer } from './reducer';
import { Dispatcher } from './dispatcher';
import { Store } from './store';
import { State } from './state';
import { OpaqueToken, ModuleWithProviders } from '@angular/core';
export declare const INITIAL_REDUCER: OpaqueToken;
export declare const INITIAL_STATE: OpaqueToken;
export declare const _INITIAL_REDUCER: OpaqueToken;
export declare const _INITIAL_STATE: OpaqueToken;
export declare function _initialReducerFactory(reducer: any): any;
export declare function _initialStateFactory(initialState: any, reducer: any): any;
export declare function _storeFactory(dispatcher: any, reducer: any, state$: any): Store<{}>;
export declare function _stateFactory(initialState: any, dispatcher: Dispatcher, reducer: Reducer): State<any>;
export declare function _reducerFactory(dispatcher: any, reducer: any): Reducer;
/**
* @deprecated, use StoreModule.provideStore instead!
*/
export declare function provideStore(_reducer: any, _initialState?: any): any[];
export declare class StoreModule {
static provideStore(_reducer: any, _initialState?: any): ModuleWithProviders;
}