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
this is annoying in cases where you want to fetch the token from somewhere else, but it might be undefined as maybe it was not fetched yet or the user is not logged in.
Another note would be that, at the moment keys like TOKEN contain ? which marks them as optional, so | undefined is not required. I do not know if this is intentional as to make the typing more clear thought.
The text was updated successfully, but these errors were encountered:
Currently, the
Resolver
is defined asand keys like
TOKEN
are defined like:this is annoying in cases where you want to fetch the token from somewhere else, but it might be undefined as maybe it was not fetched yet or the user is not logged in.
Example
I propose the following typing changes:
Resolver
Keys like TOKEN
Another note would be that, at the moment keys like TOKEN contain
?
which marks them as optional, so| undefined
is not required. I do not know if this is intentional as to make the typing more clear thought.The text was updated successfully, but these errors were encountered: