chore: v3.2.0 release

This commit is contained in:
LuanRT
2023-03-08 10:21:32 +00:00
parent ae15fa742e
commit 6d823a9777
120 changed files with 705 additions and 186 deletions

View File

@@ -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);