()
| 20 | duration(): number { return this.endTime - this.startTime } |
| 21 | data(endTime: number, startTime?: number): string { return '' } |
| 22 | snapshot(): string { |
| 23 | if (this.prev) { |
| 24 | return this.prev.snapshot() |
| 25 | } |
| 26 | return '' |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | export type FrameSnapshotFn = (s: string) => string |