You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The return type of the method is Promise<Email[] | undefined>
The actual returned value is something like
{ email: [{...}] }, so a property that does not exist on the type To Reproduce
Steps to reproduce the behavior:
call the method and check the actual returned payload
Expected behavior
The type and returned value match
The text was updated successfully, but these errors were encountered:
Describe the bug
The return type of the method is
Promise<Email[] | undefined>
The actual returned value is something like
{ email: [{...}] }, so a property that does not exist on the type
To Reproduce
Steps to reproduce the behavior:
call the method and check the actual returned payload
Expected behavior
The type and returned value match
The text was updated successfully, but these errors were encountered: