mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-21 05:21:16 +00:00
15 lines
390 B
TypeScript
15 lines
390 B
TypeScript
import { YTNode } from '../helpers.js';
|
|
import type { RawNode } from '../index.js';
|
|
import { Parser } from '../index.js';
|
|
import Factoid from './Factoid.js';
|
|
|
|
export default class UploadTimeFactoid extends YTNode {
|
|
static type = 'UploadTimeFactoid';
|
|
|
|
factoid: Factoid | null;
|
|
|
|
constructor(data: RawNode) {
|
|
super();
|
|
this.factoid = Parser.parseItem(data.factoid, Factoid);
|
|
}
|
|
} |