79103557

Date: 2024-10-18 20:25:12
Score: 0.5
Natty:
Report link

I guess that user in tap has type of { user: UserModel }.

If so, then it is either tap(({ user }) => ...) (with curly braces around user) or something like this:

tap(response => {
  const user = response.user
  console.log('UserService.user tap', user)
  this.store.dispatch(StoreUser({user}))
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tortila