fix(ThumbnailOverlayResumePlayback): Update percent_duration_watched type (#737)

This commit is contained in:
Dave Nicolson
2024-08-20 01:18:06 +02:00
committed by GitHub
parent 4b60b97132
commit f9ccba4af5

View File

@@ -4,10 +4,10 @@ import type { RawNode } from '../index.js';
export default class ThumbnailOverlayResumePlayback extends YTNode {
static type = 'ThumbnailOverlayResumePlayback';
percent_duration_watched: string; // TODO: is this a number?
percent_duration_watched: number;
constructor(data: RawNode) {
super();
this.percent_duration_watched = data.percentDurationWatched;
}
}
}