-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
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/remix
SDK Version
8.33.1
Framework Version
2.12.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
export function init(options: RemixOptions): Client | undefined { |
export function init(options: RemixOptions): NodeClient | undefined { |
export declare function init(options: RemixOptions): void; |
Steps to Reproduce
I want to use our existing OpenTelemetry setup with Remix.
The guide says to import init
from @sentry/node
, but that won't set up the Sentry Remix SDK, will it?
But if I input init
from @sentry/remix
, it's typed to return void
even though it actually returns a Sentry client.
Expected Result
I can use an existing OpenTelemetry setup with Remix without getting TypeScript compilation errors.
Actual Result
The types are wrong
Metadata
Metadata
Assignees
Labels
Projects
Status
No status