mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 15:21:54 +00:00
19 lines
489 B
TypeScript
19 lines
489 B
TypeScript
import { Parser } from '../../index.js';
|
|
import { type SuperParsedResult, YTNode } from '../../helpers.js';
|
|
import type { RawNode } from '../../index.js';
|
|
|
|
export default class MultiPageMenuNotificationSection extends YTNode {
|
|
static type = 'MultiPageMenuNotificationSection';
|
|
|
|
items: SuperParsedResult<YTNode>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.items = Parser.parse(data.items);
|
|
}
|
|
|
|
// XXX: Alias for consistency.
|
|
get contents() {
|
|
return this.items;
|
|
}
|
|
} |