Last active
April 3, 2019 15:05
-
-
Save alex-okrushko/155a66f265c9cfe818b9dba6408cc83e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class MyEffects { | |
constructor(private readonly actions$: Actions) {} | |
@Effect | |
login$ = this.actions$.pipe( | |
ofType(login), // provide type safety *without* ActionsUnion | |
... | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment