@typescript-eslint/await-thenable doesn't like the new overload signature from #211. When I upgrade remix-auth to v3.5.0, it tells me to remove await from this line:
Unexpected `await` of a non-Promise (non-"Thenable") value @typescript-eslint/await-thenable
If authenticate() implementations are expected to be async, then they will always return promises, so Promise<never> would be the correct return type. Just a minor dev experience fix.
@typescript-eslint/await-thenable
doesn't like the new overload signature from #211. When I upgrade remix-auth to v3.5.0, it tells me to removeawait
from this line:If
authenticate()
implementations are expected to be async, then they will always return promises, soPromise<never>
would be the correct return type. Just a minor dev experience fix.