Skip to content

Sentry typescript type error introduced in 7.16.0 #6016

Closed
@nahidakbar

Description

@nahidakbar

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/serverless

SDK Version

7.16.0

Framework Version

Serverless

Link to Sentry event

No response

Steps to Reproduce

For my GCP serverless codebase,

Nodejs v16.13.2

Typescript 4.8.3

if I upgrade my sentry packages from 7.15.0 to 7.16.0, it gives error

Expected Result

No error

Actual Result

node_modules/@sentry/utils/types/browser.d.ts:4:69 - error TS2304: Cannot find name 'Window'.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions