Skip to content

Typescript - BaseNodeOptions does not have dsn property #5376

@dmusev

Description

@dmusev

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/node

SDK Version

7.5.1

Framework Version

No response

Link to Sentry event

No response

Steps to Reproduce

Using node application with latest @sentry/node fails to compile TypeScript due to missing types in BaseNodeOptions.

I saw similar issue being fixed for @sentry/browser here: #4746

Maybe such a fix is needed for the @sentry/node package as well. @lforst can you confirm ?

Expected Result

TS should compile without warnings.

Actual Result

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions