mirror of
https://github.com/misskey-dev/misskey
synced 2024-05-20 10:19:41 +02:00
b9cb6d1c10
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
6 lines
223 B
TypeScript
6 lines
223 B
TypeScript
import { 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));
|
|
}
|