mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 20:41:17 +00:00
* dev: add support for topic channels * dev(parser): do not try to parse empty nodes * dev: add support for auto-generated game channels
13 lines
238 B
TypeScript
13 lines
238 B
TypeScript
import Parser from '..';
|
|
import { YTNode } from '../helpers';
|
|
|
|
export default class GameCard extends YTNode {
|
|
static type = 'GameCard';
|
|
|
|
game;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.game = Parser.parseItem(data.game);
|
|
}
|
|
} |