Replies: 2 comments 4 replies
-
I am not sure what is the issue |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi elf team,
I think the typings for the RequestResults can be improved when using joinRequestResult, this is what we would do:
getAllFavorites(): RequestResult<any> & { data: Favorite[] } { return this.store.pipe(selectAllEntities(), joinRequestResult(['favorites'])); }
I'm not sure if it is actually necessary to have the additional data type and if so, shouldn't it be exported?
Beta Was this translation helpful? Give feedback.
All reactions