Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>;

Expand Down