Skip to content

Commit f613940

Browse files
authored
fix(replay): Fix type for options of replayIntegration (#10325)
Before submitting a pull request, please take a look at our [Contributing](https://github.com/getsentry/sentry-javascript/blob/master/CONTRIBUTING.md) guidelines and verify: - [ ] If you've added code that should be tested, please add tests. - [ ] Ensure your code lints and the test suite passes (`yarn lint`) & (`yarn test`). fixes: #10305
1 parent 10345d4 commit f613940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/replay/src/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ let _initialized = false;
3030
type InitialReplayPluginOptions = Omit<ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'> &
3131
Partial<Pick<ReplayPluginOptions, 'sessionSampleRate' | 'errorSampleRate'>>;
3232

33-
export const replayIntegration = ((options?: InitialReplayPluginOptions) => {
33+
export const replayIntegration = ((options?: ReplayConfiguration) => {
3434
// eslint-disable-next-line deprecation/deprecation
3535
return new Replay(options);
3636
}) satisfies IntegrationFn;

0 commit comments

Comments
 (0)