File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
packages/sdk/combined-browser/src Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1111 * @packageDocumentation
1212 */
1313import { initialize as initializeJsClient , LDClient , LDOptions } from '@launchdarkly/js-client-sdk' ;
14- import Observability from '@launchdarkly/observability' ;
15- import SessionReplay from '@launchdarkly/session-replay' ;
14+ import Observability , { ObserveOptions } from '@launchdarkly/observability' ;
15+ import SessionReplay , { RecordOptions } from '@launchdarkly/session-replay' ;
1616
1717export * from '@launchdarkly/js-client-sdk' ;
1818
19- // TODO: Temporary until the type definitions are exported from the plugins.
20- type ObserveOptions = ConstructorParameters < typeof Observability > [ 1 ] ;
21- type RecordOptions = ConstructorParameters < typeof SessionReplay > [ 1 ] ;
22-
23- export { LDObserve } from '@launchdarkly/observability' ;
24- export { LDRecord } from '@launchdarkly/session-replay' ;
19+ export { LDObserve , ObserveOptions } from '@launchdarkly/observability' ;
20+ export { LDRecord , RecordOptions } from '@launchdarkly/session-replay' ;
2521
2622/**
2723 * Initialization options for the browser SDK and observability plugins.
You can’t perform that action at this time.
0 commit comments