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
There are a few things we need to fix in the checker for properly handling never in these cases with async functions, and there's a breaking change in the definition for PromiseLike and Promise that needs to be resolved, but this seems like the right direction.
Using overloading and the new
never
type, PromiseLike/Promise could be typed to handle all these cases correctly:The text was updated successfully, but these errors were encountered: