Skip to content

Commit 103b330

Browse files
committed
docs: useAuth()
1 parent 567fd12 commit 103b330

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/auth/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export function VueFireAuth(initialUser?: _Nullable<User>) {
4040
}
4141

4242
/**
43-
* Retrieves the Firebase Auth instance. Returns `null` on the server.
43+
* Retrieves the Firebase Auth instance. **Returns `null` on the server**. When using this function on the client in
44+
* TypeScript, you can force the type with `useFirebaseAuth()!`.
4445
*
4546
* @param name - name of the application
4647
* @returns the Auth instance

0 commit comments

Comments
 (0)