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;