Alexey Mikitevich
Alexey Mikitevich
after update to angular/[email protected] have the same issue. @angular/cli: 1.3.0 node: 8.2.1 os: darwin x64 @angular/animations: 4.3.3 @angular/common: 4.3.3 @angular/compiler: 4.3.3 @angular/core: 4.3.3 @angular/forms: 4.3.3 @angular/http: 4.3.3 @angular/platform-browser: 4.3.3 @angular/platform-browser-dynamic:...
Hello, you get error because you expect ```Observable``` but you receive ```Observable``` ``` @Effect() loginAction$: Observable = this.actions$ .ofType(LOGIN_ACTION) .switchMap((action: any) => this.trainingApi.login(action.payload.username, action.payload.password) .map(user => { this.router.navigateByUrl(this.authService.getRedirectUrl() || '/home');...