update typings and fix lint errors

This commit is contained in:
Yun Feng
2021-06-16 11:40:10 +08:00
parent c59bd710d2
commit ce74062869
4 changed files with 11 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ export declare class Replayer {
private newDocumentQueue;
constructor(events: Array<eventWithTime | string>, config?: Partial<playerConfig>);
on(event: string, handler: Handler): this;
off(event: string, handler: Handler): this;
setConfig(config: Partial<playerConfig>): void;
getMetaData(): playerMetaData;
getCurrentTime(): number;