From 2233a09bc4f4d8e99de0ef521c87dd4a71801a6d Mon Sep 17 00:00:00 2001 From: Aaron Adams Date: Wed, 12 Jul 2023 17:49:41 -0400 Subject: [PATCH] Improve authenticate overload return type (#235) Correct authenticate overload return type --- src/authenticator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authenticator.ts b/src/authenticator.ts index c8fb0d0..4bb7079 100644 --- a/src/authenticator.ts +++ b/src/authenticator.ts @@ -117,7 +117,7 @@ export class Authenticator { > & { successRedirect: AuthenticateOptions["successRedirect"]; } - ): never; + ): Promise; authenticate( strategy: string, request: Request,