Skip to content

Commit 465644f

Browse files
ThangHuuVusmcg468
andauthoredJul 22, 2023
fix(ts): SignInResponse.error type (#8109)
Co-authored-by: smcg468 <49883535+smcg468@users.noreply.github.com>
1 parent d12bd5a commit 465644f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/next-auth/src/react/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export interface SignInOptions extends Record<string, unknown> {
3535
}
3636

3737
export interface SignInResponse {
38-
error: string | undefined
38+
error: string | null
3939
status: number
4040
ok: boolean
4141
url: string | null

1 commit comments

Comments
 (1)
Please sign in to comment.