1
0

fix backend lint errors

This commit is contained in:
Hazelnoot
2025-04-02 10:35:11 -04:00
parent 9dffb13be7
commit f9c1535147
13 changed files with 27 additions and 23 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ type PackedPureRenote = PackedRenote & {
replyId: NonNullable<Packed<'Note'>['replyId']>;
poll: NonNullable<Packed<'Note'>['poll']>;
fileIds: NonNullable<Packed<'Note'>['fileIds']>;
}
};
export function isRenotePacked(note: Packed<'Note'>): note is PackedRenote {
return note.renoteId != null;