Skip to content

Commit 5ac8446

Browse files
committed
Fix AuthActionHooks type from 'void' to 'Promise<void>'
1 parent ef58420 commit 5ac8446

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 firebase from 'firebase/app';
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)