mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-22 11:16:18 +08:00
fix auth types
This commit is contained in:
4
packages/auth/lib/index.d.ts
vendored
4
packages/auth/lib/index.d.ts
vendored
@@ -1176,7 +1176,7 @@ export namespace Auth {
|
||||
*
|
||||
* @param code An ISO language code.
|
||||
*/
|
||||
set languageCode(code: string): void;
|
||||
set languageCode(code: string);
|
||||
|
||||
/**
|
||||
* Returns the current `AuthSettings`.
|
||||
@@ -1194,7 +1194,7 @@ export namespace Auth {
|
||||
*
|
||||
* > It is recommended to use {@link auth#onAuthStateChanged} to track whether the user is currently signed in.
|
||||
*/
|
||||
currentUser(): User | null;
|
||||
currentUser: User | null;
|
||||
|
||||
/**
|
||||
* Listen for changes in the users auth state (logging in and out).
|
||||
|
||||
Reference in New Issue
Block a user