refactor!: migrate core renderers to TypeScript

This commit is contained in:
LuanRT
2022-08-07 06:14:09 -03:00
parent 3833b333a7
commit 709c448053
8 changed files with 66 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
import Text from './misc/Text';
import { YTNode } from '../helpers';
class ItemSectionHeader extends YTNode {
static type = 'ItemSectionHeader';
title: Text;
constructor(data: any) {
super();
this.title = new Text(data.title);
}
}
export default ItemSectionHeader;