From f9ccba4af5268d67d8610a1a5d623964f56d170d Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Tue, 20 Aug 2024 01:18:06 +0200 Subject: [PATCH] fix(ThumbnailOverlayResumePlayback): Update `percent_duration_watched` type (#737) --- src/parser/classes/ThumbnailOverlayResumePlayback.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser/classes/ThumbnailOverlayResumePlayback.ts b/src/parser/classes/ThumbnailOverlayResumePlayback.ts index 0ab3fdfde..53e19a82f 100644 --- a/src/parser/classes/ThumbnailOverlayResumePlayback.ts +++ b/src/parser/classes/ThumbnailOverlayResumePlayback.ts @@ -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; } -} \ No newline at end of file +}