From b06005cf401b2991d6599b1e17a920ea43732350 Mon Sep 17 00:00:00 2001 From: Karl-Aksel Puulmann Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Update rrwebPlayer types (#46) Without this change, the following fails to compile in typescript: ```js new rrwebPlayer({ target: document.body, props: { width: 900, events, autoPlay: true, }, }) ``` --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index a518fb2c..9a34d330 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -14,7 +14,7 @@ export default class rrwebPlayer extends SvelteComponent { speedOption?: number[]; showController?: boolean; tags?: Record; - } & playerConfig; + } & Partial; }); addEventListener(event: string, handler: (params: any) => unknown): void;