From b777a47877d28f42316208df0d2dad58073e79ab Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 29 Sep 2021 15:02:26 +0200 Subject: [PATCH] Update isInitialized() description --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index b578f04..973d703 100644 --- a/index.d.ts +++ b/index.d.ts @@ -660,12 +660,12 @@ declare module 'launchdarkly-react-native-client-sdk' { * the client has successfully connected to LaunchDarkly and received feature flags, or the * client has been put into offline mode (in which case it will return only default flag values). * - * This function only works when running in Android. On iOS, this function will return a rejected promise. + * This function will return a rejected promise in case it has not been isInitialized. * * @param environment * Optional environment name to obtain the result from the corresponding secondary environment * @returns - * A promise contianing true if the client is initialized or offline + * A promise contianing true if the client is initialized or offline, otherwise a rejected promise */ isInitialized(environment?: string): Promise;