From 3e3e65845bc2bd1efac1edfef1a85fecc2c1b120 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] fix types --- package.json | 3 ++- typings/index.d.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b995ca09..8138c37f 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,8 @@ "unpkg": "dist/index.js", "files": [ "lib", - "dist" + "dist", + "typings" ], "typings": "typings/index.d.ts", "repository": { diff --git a/typings/index.d.ts b/typings/index.d.ts index ba0b5499..72b23589 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -8,7 +8,7 @@ export default class rrwebPlayer { width?: number; height?: number; skipInactive?: boolean; - autoPlay?: number; + autoPlay?: boolean; speedOption?: number[]; showController?: boolean; showWarning?: boolean;