Skip to content

Commit 20f0c26

Browse files
committed
refactor: stricter types
1 parent 359f9d0 commit 20f0c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/auth/user.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function useIsCurrentUserLoaded(name?: string) {
5757
export function updateCurrentUserProfile(profile: {
5858
displayName?: _Nullable<string>
5959
photoURL?: _Nullable<string>
60-
}) {
60+
}): Promise<void> {
6161
return getCurrentUser().then((user) => {
6262
if (user) {
6363
return updateProfile(user, profile).then(() => user.reload())

0 commit comments

Comments
 (0)