lint
This commit is contained in:
parent
1ed06e490c
commit
567c550120
13 changed files with 28 additions and 31 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Note } from '@/models/entities/Note.js';
|
||||
import type { Note } from '@/models/entities/Note.js';
|
||||
|
||||
export default function(note: Note): boolean {
|
||||
return note.renoteId != null && (note.text != null || note.hasPoll || (note.fileIds != null && note.fileIds.length > 0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue