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
{{ message }}
Repository navigation
Incorrect return types for Promise#catch and 0- and 2- arg forms of Promise#then #9193
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.
Activity
mhegazy commentedon Jun 15, 2016
//cc: Ron Buckton (@rbuckton)
rbuckton commentedon Jun 15, 2016
There are a few things we need to fix in the checker for properly handling
neverin these cases with async functions, and there's a breaking change in the definition forPromiseLikeandPromisethat needs to be resolved, but this seems like the right direction.Updates type definitions for Promise and PromiseLike, fixes issues in…