Skip to content

Add Context and Contexts interfaces re-export from @sentry/browser #16764

@alSergey

Description

@alSergey

Problem Statement

I need to use the Context and Contexts interfaces. Unfortunately, they are currently only exported from @sentry/core and not from @sentry/browser or @sentry/vue. As a result, I have to include two dependencies, @sentry/core and @sentry/vue, instead of just one — @sentry/vue.

Solution Brainstorm

We could add a re-export of the types in @sentry/browser, and that would solve the problem. I’ve prepared a PR and hope I did everything correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions