File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ export interface CoreAwareState {
7
7
core : CoreState ;
8
8
}
9
9
10
- export const CoreModule : ISagaModule < CoreState > = {
10
+ export const CoreModule : ISagaModule < CoreAwareState > = {
11
11
id : 'core' ,
12
- reducerMap : {
13
- core : coreReducer ,
14
- } as any ,
12
+ reducerMap : { core : coreReducer } ,
15
13
sagas : [ coreSaga ] ,
16
14
initialActions : [ ] ,
17
15
finalActions : [ ] ,
Original file line number Diff line number Diff line change @@ -7,11 +7,9 @@ export interface HeroAwareState {
7
7
hero : HeroState ;
8
8
}
9
9
10
- export const HeroModule : ISagaModule < HeroState > = {
10
+ export const HeroModule : ISagaModule < HeroAwareState > = {
11
11
id : 'hero' ,
12
- reducerMap : {
13
- hero : heroReducer ,
14
- } as any ,
12
+ reducerMap : { hero : heroReducer } ,
15
13
sagas : [ heroSaga ] ,
16
14
initialActions : [ ] ,
17
15
finalActions : [ ] ,
You can’t perform that action at this time.
0 commit comments