mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
refactor: improve Search parser (#247)
* refactor: improve Search parser * chore: lint
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user