Updating to @sentry/[email protected] changes fetch response from any to unknown #15536
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/sveltekit
SDK Version
9.2.0
Framework Version
SvelteKit 2.17.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
- Update from @sentry/sveltekit
9.1.0
to9.2.0
. - Inspect response from an
await fetch()
Expected Result
Type should stay the same any
.
This is how it was in 9.1.0
.
Actual Result
Type is unknown
.
I'm not saying that this is totally wrong, since unknown
is better to use than any
. I just can't find a reason to this change, or where it took place.
Metadata
Metadata
Assignees
Type
Projects
Status
No status