Skip to content

Commit

Permalink
fix(ThumbnailOverlayResumePlayback): Update `percent_duration_watched…
Browse files Browse the repository at this point in the history
…` type (#737)
  • Loading branch information
dnicolson authored Aug 19, 2024
1 parent 4b60b97 commit f9ccba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/classes/ThumbnailOverlayResumePlayback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

0 comments on commit f9ccba4

Please sign in to comment.