mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 18:16:44 -06:00
b9cb6d1c10
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
5 lines
223 B
TypeScript
5 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));
|
|
}
|