add note
This commit is contained in:
parent
f13c3909a0
commit
5005cc8ae3
|
@ -22,6 +22,7 @@ import type { ReactionService } from '../ReactionService.js';
|
||||||
import type { UserEntityService } from './UserEntityService.js';
|
import type { UserEntityService } from './UserEntityService.js';
|
||||||
import type { DriveFileEntityService } from './DriveFileEntityService.js';
|
import type { DriveFileEntityService } from './DriveFileEntityService.js';
|
||||||
|
|
||||||
|
// is-renote.tsとよしなにリンク
|
||||||
function isPureRenote(note: MiNote): note is MiNote & { renoteId: MiNote['id']; renote: MiNote } {
|
function isPureRenote(note: MiNote): note is MiNote & { renoteId: MiNote['id']; renote: MiNote } {
|
||||||
return (
|
return (
|
||||||
note.renote != null &&
|
note.renote != null &&
|
||||||
|
|
Loading…
Reference in New Issue