From 22f95133b8c32f2288d3d332e8b508229ffd2de3 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Mon, 2 Oct 2023 15:15:52 +0200 Subject: [PATCH] fix(types): Update signature of `processEvent` integration hook --- packages/types/src/integration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/integration.ts b/packages/types/src/integration.ts index 19df0b9e67c2..0e60b7a530ee 100644 --- a/packages/types/src/integration.ts +++ b/packages/types/src/integration.ts @@ -36,5 +36,5 @@ export interface Integration { * Return `null` to drop the event, or mutate the event & return it. * This receives the client that the integration was installed for as third argument. */ - processEvent?(event: Event, hint: EventHint | undefined, client: Client): Event | null | PromiseLike; + processEvent?(event: Event, hint: EventHint, client: Client): Event | null | PromiseLike; }