File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/rrweb-player/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export function typeOf(
146146}
147147
148148/**
149- * Forked from '@sentry-internal/ rrweb' replay/index.ts. The original function is not exported.
149+ * Forked from 'rrweb' replay/index.ts. The original function is not exported.
150150 * Determine whether the event is a user interaction event
151151 * @param event - event to be determined
152152 * @returns true if the event is a user interaction event
@@ -156,12 +156,14 @@ function isUserInteraction(event: eventWithTime): boolean {
156156 return false ;
157157 }
158158 return (
159+ // @ts -expect-error source does not exist on data
159160 event . data . source > IncrementalSource . Mutation &&
161+ // @ts -expect-error source does not exist on data
160162 event . data . source <= IncrementalSource . Input
161163 ) ;
162164}
163165
164- // Forked from '@sentry-internal/ rrweb' replay/index.ts. A const threshold of inactive time.
166+ // Forked from 'rrweb' replay/index.ts. A const threshold of inactive time.
165167const SKIP_TIME_THRESHOLD = 10 * 1000 ;
166168
167169/**
You can’t perform that action at this time.
0 commit comments