Skip to content

Commit

Permalink
Improve authenticate overload return type (#235)
Browse files Browse the repository at this point in the history
Correct authenticate overload return type
  • Loading branch information
aaronadamsCA committed Jul 12, 2023
1 parent 73326fe commit 2233a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authenticator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class Authenticator<User = unknown> {
> & {
successRedirect: AuthenticateOptions["successRedirect"];
}
): never;
): Promise<never>;
authenticate(
strategy: string,
request: Request,
Expand Down

0 comments on commit 2233a09

Please sign in to comment.