fix types

This commit is contained in:
Yanzhen Yu
2020-08-09 15:59:45 +08:00
parent c84bfc8dbf
commit 7525b3bb9f
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;