Skip to content

Commit 2233a09

Browse files
authored
Improve authenticate overload return type (#235)
Correct authenticate overload return type
1 parent 73326fe commit 2233a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/authenticator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class Authenticator<User = unknown> {
117117
> & {
118118
successRedirect: AuthenticateOptions["successRedirect"];
119119
}
120-
): never;
120+
): Promise<never>;
121121
authenticate(
122122
strategy: string,
123123
request: Request,

0 commit comments

Comments
 (0)