-
-
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 package are you using?
@sentry/serverless
SDK Version
7.18.0
Framework Version
Node 16, TypeScript 4.7
Link to Sentry event
No response
Steps to Reproduce
- upgrade Sentry packages to 7.16.0+
- make use of
import { ExtraErrorData } from "@sentry/integrations"; - compile with
tsc
Note: this appears to be related to #6016 but affects @sentry/integrations rather than @sentry/utils.
Expected Result
No error
Actual Result
node_modules/@sentry/integrations/types/offline.d.ts:2:71 - error TS2304: Cannot find name 'Window'.
2 export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window;
~~~~~~
node_modules/@sentry/integrations/types/reportingobserver.d.ts:2:71 - error TS2304: Cannot find name 'Window'.
2 export declare const WINDOW: import("@sentry/utils").InternalGlobal & Window;
~~~~~~