mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 13:01:31 +00:00
* dev: finish top-level parsers TS migration
* dev: migrate menu renderers to TS
* chore: fix ts errors
* dev: finish ts migration 🎉
15 lines
311 B
TypeScript
15 lines
311 B
TypeScript
import Parser from '../index';
|
|
import { YTNode } from '../helpers';
|
|
|
|
class SecondarySearchContainer extends YTNode {
|
|
static type = 'SecondarySearchContainer';
|
|
|
|
contents;
|
|
|
|
constructor(data: any) {
|
|
super();
|
|
this.contents = Parser.parse(data.contents);
|
|
}
|
|
}
|
|
|
|
export default SecondarySearchContainer; |