mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-24 15:21:54 +00:00
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import type { ObservedArray } from '../helpers.js';
|
|
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import { Parser } from '../index.js';
|
|
|
|
export default class ProductList extends YTNode {
|
|
static type = 'ProductList';
|
|
|
|
contents: ObservedArray<YTNode>;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.contents = Parser.parseArray(data.contents);
|
|
}
|
|
} |