mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
chore: v3.2.0 release
This commit is contained in:
@@ -7,6 +7,7 @@ import type Actions from '../../../core/Actions.ts';
|
||||
import type { ObservedArray } from '../../helpers.ts';
|
||||
import { InnertubeError } from '../../../utils/Utils.ts';
|
||||
import { observe, YTNode } from '../../helpers.ts';
|
||||
import type { RawNode } from '../../index.ts';
|
||||
|
||||
class CommentThread extends YTNode {
|
||||
static type = 'CommentThread';
|
||||
@@ -20,7 +21,7 @@ class CommentThread extends YTNode {
|
||||
is_moderated_elq_comment: boolean;
|
||||
has_replies: boolean;
|
||||
|
||||
constructor(data: any) {
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.comment = Parser.parseItem<Comment>(data.comment, Comment);
|
||||
this.comment_replies_data = Parser.parseItem<CommentReplies>(data.replies);
|
||||
|
||||
Reference in New Issue
Block a user