mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-15 10:32:14 +00:00
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import { Parser, type RawNode } from '../index.js';
|
|
|
|
export default class GameCard extends YTNode {
|
|
static type = 'GameCard';
|
|
|
|
game: YTNode;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.game = Parser.parseItem(data.game);
|
|
}
|
|
} |