update dependencies and generate typings (#44)
This commit is contained in:
13
typings/replay/timer.d.ts
vendored
Normal file
13
typings/replay/timer.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { playerConfig, actionWithDelay } from '../types';
|
||||
export default class Timer {
|
||||
timeOffset: number;
|
||||
private actions;
|
||||
private config;
|
||||
private raf;
|
||||
constructor(config: playerConfig, actions?: actionWithDelay[]);
|
||||
addAction(action: actionWithDelay): void;
|
||||
addActions(actions: actionWithDelay[]): void;
|
||||
start(): void;
|
||||
clear(): void;
|
||||
private findActionIndex;
|
||||
}
|
||||
Reference in New Issue
Block a user