lint
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user