Skip to content

Commit 0c63e9f

Browse files
committed
Remove temporary export code.
1 parent 0046035 commit 0c63e9f

File tree

1 file changed

+4
-8
lines changed
  • packages/sdk/combined-browser/src

1 file changed

+4
-8
lines changed

packages/sdk/combined-browser/src/index.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@
1111
* @packageDocumentation
1212
*/
1313
import { 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

1717
export * 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.

0 commit comments

Comments
 (0)