Skip to content

Commit 946f562

Browse files
committed
fix: Use EventListenerOrEventListenerObject for breadcrumb wrappers
1 parent 57b520e commit 946f562

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser/src/integrations/breadcrumbs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ export class Breadcrumbs implements Integration {
188188
): (
189189
this: any,
190190
eventName: string,
191-
fn: EventListenerObject,
191+
fn: EventListenerOrEventListenerObject,
192192
options?: boolean | EventListenerOptions,
193193
) => () => void {
194194
return function(
195195
this: any,
196196
eventName: string,
197-
fn: EventListenerObject,
197+
fn: EventListenerOrEventListenerObject,
198198
options?: boolean | EventListenerOptions,
199199
): () => void {
200200
let callback = fn as WrappedFunction;

0 commit comments

Comments
 (0)