Skip to content

Commit

Permalink
Revert "fix rrweb-player dts bug"
Browse files Browse the repository at this point in the history
This reverts commit 4f0bf98.
  • Loading branch information
YunFeng0817 committed Dec 9, 2024
1 parent 3f24fcb commit 32e9577
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/rrweb-player/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import _Player from './Player.svelte';
import type { RRwebPlayerOptions } from './types';

// Make sure generated Player type inherit all the props of _Player
type SvelteComponentProps = InstanceType<typeof _Player>;

export class Player extends _Player implements SvelteComponentProps {
export class Player extends _Player {
constructor(
options: {
// for compatibility
Expand Down

0 comments on commit 32e9577

Please sign in to comment.