Skip to content

Commit 76247ec

Browse files
committed
fix(types): Use Sentry event type instead of dom one
#4527 introduced Envelope types. In that patch, we included the `Event` DOM type, which is not declared in all TS environments accidentally - we meant to include Sentry's `Event` type. This patch explicitly introduces Sentry's Event type by importing it in, fixing the build errors that folks were having.
1 parent 4d77983 commit 76247ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/types/src/envelope.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Event } from './event';
12
import { SentryRequestType } from './request';
23
import { SdkInfo } from './sdkinfo';
34
import { Session, SessionAggregates } from './session';

0 commit comments

Comments
 (0)