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
imo this proposal should definitely include the ability to annotate the type of every single binding that is brought into scope, including catch bindings (see #37).
Catch bindings are structurally identical to function signatures, so I'm not sure why they'd need a different mechanism to annotate them.
TypeScript supports annotations for try/catch, which is not listed in the proposal. Should this be added as well?
microsoft/TypeScript#41013
The text was updated successfully, but these errors were encountered: