-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathindex.ts
More file actions
28 lines (23 loc) · 932 Bytes
/
index.ts
File metadata and controls
28 lines (23 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* This is the API reference for the React Native LaunchDarkly SDK.
*
* For more information, see the SDK reference guide.
*
* @packageDocumentation
*/
import ReactNativeLDClient from './ReactNativeLDClient';
import RNOptions, { RNDataSystemOptions, RNStorage } from './RNOptions';
export * from '@launchdarkly/js-client-sdk-common';
// Override the common LDClient type with a React Native-specific one that
// preserves backward-compatible identify() returning Promise<void>.
export type { LDClient } from './LDClient';
export * from './hooks';
export * from './provider';
export * from './LDPlugin';
// Override the common type with a client specific one.
// TODO: we will remove this once we major version this SDK.
export type {
LDEvaluationDetailTyped,
LDEvaluationDetail,
} from './hooks/variation/LDEvaluationDetail';
export { ReactNativeLDClient, RNOptions as LDOptions, RNDataSystemOptions, RNStorage };