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
it would be perfect to change the return type of to function from Promise<[Error, T]> to Promise<[Error, null] | [null, T]> in order to force checking the error before accessing the value.
it would be perfect to change the return type of to function from
Promise<[Error, T]>
toPromise<[Error, null] | [null, T]>
in order to force checking the error before accessing the value.blocked by microsoft/TypeScript#15484
The text was updated successfully, but these errors were encountered: