kill as any for ApMfmService

This commit is contained in:
Kisaragi Marine 2024-06-21 03:52:13 +09:00
parent 1c5e04199e
commit 30abfac7b4
No known key found for this signature in database
GPG key ID: C6631564CD2110E4
2 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ export class ApMfmService {
}
@bindThis
public getNoteHtml(note: MiNote, apAppend?: string) {
public getNoteHtml(note: Pick<MiNote, 'text' | 'mentionedRemoteUsers'>, apAppend?: string) {
let noMisskeyContent = false;
const srcMfm = (note.text ?? '') + (apAppend ?? '');