fix types

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 669d8cbb90
commit 3e3e65845b
2 changed files with 3 additions and 2 deletions

View File

@@ -39,7 +39,8 @@
"unpkg": "dist/index.js", "unpkg": "dist/index.js",
"files": [ "files": [
"lib", "lib",
"dist" "dist",
"typings"
], ],
"typings": "typings/index.d.ts", "typings": "typings/index.d.ts",
"repository": { "repository": {

2
typings/index.d.ts vendored
View File

@@ -8,7 +8,7 @@ export default class rrwebPlayer {
width?: number; width?: number;
height?: number; height?: number;
skipInactive?: boolean; skipInactive?: boolean;
autoPlay?: number; autoPlay?: boolean;
speedOption?: number[]; speedOption?: number[];
showController?: boolean; showController?: boolean;
showWarning?: boolean; showWarning?: boolean;