refactor: improve Search parser (#247)

* refactor: improve Search parser

* chore: lint
This commit is contained in:
LuanRT
2022-11-29 03:50:17 -03:00
committed by GitHub
parent 6caa679df6
commit 516eeeff45
11 changed files with 53 additions and 75 deletions

View File

@@ -3,7 +3,7 @@ import NavigationEndpoint from './NavigationEndpoint';
import Text from './misc/Text';
import { YTNode } from '../helpers';
class WatchCardRichHeader extends YTNode {
export default class WatchCardRichHeader extends YTNode {
static type = 'WatchCardRichHeader';
title: Text;
@@ -21,6 +21,4 @@ class WatchCardRichHeader extends YTNode {
this.author.name = this.title.toString();
this.style = data.style;
}
}
export default WatchCardRichHeader;
}