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
Following #41016 a flag was added to consider catch variables as unknown.
For consistency and since they're similar cases, I suggest also adding a flag that does this for .catch callbacks on promises.
Suggestion
✅ Viability Checklist
My suggestion meets these guidelines:
⭐ Suggestion
Following #41016 a flag was added to consider
catchvariables asunknown.For consistency and since they're similar cases, I suggest also adding a flag that does this for
.catchcallbacks on promises.See also: eslint-plugin-etc/no-implicit-any-catch