Skip to content

Commit 94691d0

Browse files
authored
Merge pull request #169 from kqito/master
Fix AuthActionHooks type from 'void' to 'Promise<void>'
2 parents fc8e850 + 5ac8446 commit 94691d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ActionCodeSettings, AuthError, UserCredential } from 'firebase/auth';
22

33
export type AuthActionHook<T, E> = [
4-
(email: string, password: string) => void,
4+
(email: string, password: string) => Promise<void>,
55
T | undefined,
66
boolean,
77
E | undefined

0 commit comments

Comments
 (0)