BrowserClientOptions
type should include BrowserClientReplayOptions
#8857
Labels
Package: react
Issues related to the Sentry React SDK
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.64.0
Framework Version
18.2.0
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
This issue is about types exposed by Sentry packages.
At the very last line of the setup provided above, we had to specify
BrowserClientReplayOptions
manually for theBrowserClient
. Otherwise, TypeScript would report that passingreplaysSessionSampleRate
andreplaysOnErrorSampleRate
is not correct.Expected Result
BrowserClientOptions
type should should includeBrowserClientReplayOptions
.Actual Result
TypeScript reports incorrect options passed to initialise
BrowserClient
.Please let me know if I'm missing something here, or additional info is needed. Thank you!
The text was updated successfully, but these errors were encountered: