File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ import 'rxjs/add/operator/takeUntil';
107
107
import { Injectable } from ' @angular/core' ;
108
108
import { Observable } from ' rxjs/Observable' ;
109
109
import { Action } from ' @ngrx/store' ;
110
- import { Actions , Effect , OnRunEffects } from ' @ngrx/effects' ;
110
+ import { Actions , Effect , OnRunEffects , EffectsNotification } from ' @ngrx/effects' ;
111
111
112
112
@Injectable ()
113
113
export class UserEffects implements OnRunEffects {
@@ -119,7 +119,7 @@ export class UserEffects implements OnRunEffects {
119
119
console .log (action );
120
120
});
121
121
122
- ngrxOnRunEffects(resolvedEffects$ : Observable <Action >) {
122
+ ngrxOnRunEffects(resolvedEffects$ : Observable <EffectsNotification >) {
123
123
return this .actions$ .ofType (' LOGGED_IN' )
124
124
.exhaustMap (() => resolvedEffects$ .takeUntil (' LOGGED_OUT' ));
125
125
}
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ export { EffectsModule } from './effects_module';
5
5
export { EffectSources } from './effect_sources' ;
6
6
export { OnRunEffects } from './on_run_effects' ;
7
7
export { toPayload } from './util' ;
8
+ export { EffectNotification } from './effect_notification' ;
You can’t perform that action at this time.
0 commit comments