adjusted comment object to allow for null and parent comment id
parent
be1dd71f73
commit
fe1ca738c3
|
@ -40,11 +40,11 @@ export type Comment = {
|
|||
is_nsfw: boolean;
|
||||
level: number;
|
||||
permalink: string;
|
||||
pinned: string;
|
||||
pinned: string | null;
|
||||
parent_comment_id?: number | null;
|
||||
post_id: number;
|
||||
replies: number[];
|
||||
reports: Record<string, unknown>;
|
||||
score: number;
|
||||
upvotes: number;
|
||||
};
|
||||
|
Loading…
Reference in New Issue