2
0
mirror of synced 2025-02-02 09:34:45 +00:00

[auth] Update typescript

This commit is contained in:
Elliot Hesp 2017-11-30 12:56:28 +00:00
parent c736a6bb51
commit 7cfcb4efa0

10
lib/index.d.ts vendored
View File

@ -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;
}
}