- 
                Notifications
    You must be signed in to change notification settings 
- Fork 87
Closed
Description
Hi,
you wrote a Tutorial on how to register epics in a application but it seems not to work anymore.
I tried to reproduce the example and it starts with this error:

ActionObservable needs an argument T.
How can i use and register epics in my app.module? Especially with more then one epic.
export class AppModule {
  constructor(
    private ngRedux: NgRedux<IAppState>,
    private epics: SessionEpics,
  ) {
    const middleware = [createEpicMiddleware(this.epics.login)];
    ngRedux.configureStore(rootReducer, {}, middleware);
  }
}Is this approach up-to-date in Version 9+?
Regards
rubiktubik
Metadata
Metadata
Assignees
Labels
No labels