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",
"files": [
"lib",
"dist"
"dist",
"typings"
],
"typings": "typings/index.d.ts",
"repository": {

2
typings/index.d.ts vendored
View File

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