mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-27 00:29:16 +00:00
chore: v5.0.0 release
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
import Text from './misc/Text.ts';
|
||||
import { YTNode } from '../helpers.ts';
|
||||
import type { RawNode } from '../index.ts';
|
||||
import Text from './misc/Text.ts';
|
||||
|
||||
class SimpleCardTeaser extends YTNode {
|
||||
export default class SimpleCardTeaser extends YTNode {
|
||||
static type = 'SimpleCardTeaser';
|
||||
|
||||
message: Text;
|
||||
prominent: boolean; // TODO: or string?
|
||||
prominent: boolean; // @TODO: or string?
|
||||
|
||||
constructor(data: any) {
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.message = new Text(data.message);
|
||||
this.prominent = data.prominent;
|
||||
}
|
||||
}
|
||||
|
||||
export default SimpleCardTeaser;
|
||||
}
|
||||
Reference in New Issue
Block a user