Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

493 B
Raw Blame
// `dom-player` is a Vite resolve.alias to `@rrweb/replay` (see vite.config.ts).
// The neutral name keeps "rrweb" out of the served asset URLs, which privacy
// adblock lists block. Re-export the replayer's types under the alias for TS,
// plus the event types from `@rrweb/types` (types-only package, erased at
// compile time) that `@rrweb/replay` itself doesn't re-export.
declare module 'dom-player' {
  export * from '@rrweb/replay'
  export type { eventWithTime } from '@rrweb/types'
}