mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 09:32:12 +00:00
fix(ThumbnailOverlayResumePlayback): Update percent_duration_watched type (#737)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user