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
While I think this could be done with configuration, I think some projects may prefer to avoid such usages in case there is something wrong with using Promises at all in a constructor.
Description
promise/prefer-await-to-then
should not report errors if.then
/.catch
calls are inside constructor of some classBecause we can't have
async constructor
The text was updated successfully, but these errors were encountered: