[auth] Update typescript
This commit is contained in:
parent
c736a6bb51
commit
7cfcb4efa0
10
lib/index.d.ts
vendored
10
lib/index.d.ts
vendored
@ -637,6 +637,11 @@ declare module "react-native-firebase" {
|
||||
*/
|
||||
currentUser: User | null
|
||||
|
||||
/**
|
||||
* Gets/Sets the language for the app instance
|
||||
*/
|
||||
languageCode: string | null;
|
||||
|
||||
/**
|
||||
* Listen for changes in the users auth state (logging in and out).
|
||||
* This method returns a unsubscribe function to stop listening to events.
|
||||
@ -705,6 +710,11 @@ declare module "react-native-firebase" {
|
||||
*/
|
||||
signOut(): Promise<void>
|
||||
|
||||
/**
|
||||
* Sets the language for the auth instance to the device language
|
||||
*/
|
||||
useDeviceLanguage(): void
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user