From 051709c3c1dc49e551c8b142757d65db515742ac Mon Sep 17 00:00:00 2001 From: Dave Nicolson Date: Sat, 27 Jul 2024 22:13:46 +0200 Subject: [PATCH] User Button class --- src/parser/classes/menus/Menu.ts | 5 +++-- src/parser/youtube/Library.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/parser/classes/menus/Menu.ts b/src/parser/classes/menus/Menu.ts index e8daaa8d1..8cc0e95ab 100644 --- a/src/parser/classes/menus/Menu.ts +++ b/src/parser/classes/menus/Menu.ts @@ -2,18 +2,19 @@ import { Parser } from '../../index.js'; import type { ObservedArray } from '../../helpers.js'; import { YTNode } from '../../helpers.js'; import type { RawNode } from '../../index.js'; +import Button from '../Button.js'; export default class Menu extends YTNode { static type = 'Menu'; items: ObservedArray; - top_level_buttons: ObservedArray; + top_level_buttons: ObservedArray