From 7cfcb4efa0b2aa7b14b46ab6f4a3942c4db7e808 Mon Sep 17 00:00:00 2001 From: Elliot Hesp Date: Thu, 30 Nov 2017 12:56:28 +0000 Subject: [PATCH] [auth] Update typescript --- lib/index.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/index.d.ts b/lib/index.d.ts index 688dd9bc..c960dd88 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -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 + /** + * Sets the language for the auth instance to the device language + */ + useDeviceLanguage(): void + [key: string]: any; } }