Skip to content

Commit 4da74e8

Browse files
committed
fix(replay): Fix replay build
1 parent a9d8822 commit 4da74e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/replay/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,10 @@ export class Replay implements Integration {
784784
handlePerformanceObserver: (list: PerformanceObserverEntryList) => void = (list: PerformanceObserverEntryList) => {
785785
// For whatever reason the observer was returning duplicate navigation
786786
// entries (the other entry types were not duplicated).
787-
const newPerformanceEntries = dedupePerformanceEntries(this.performanceEvents, list.getEntries());
787+
const newPerformanceEntries = dedupePerformanceEntries(
788+
this.performanceEvents,
789+
list.getEntries() as AllPerformanceEntry[],
790+
);
788791
this.performanceEvents = newPerformanceEntries;
789792
};
790793

0 commit comments

Comments
 (0)