fix type error in check-word-mute.ts

This commit is contained in:
Hazelnoot 2025-04-01 21:39:57 -04:00
parent c9186236f9
commit fa12f4c9b0

View file

@ -42,7 +42,7 @@ export function checkWordMute(note: Misskey.entities.Note, me: Misskey.entities.
return false; return false;
} }
function getNoteText(note: Note): string { function getNoteText(note: Misskey.entities.Note): string {
const textParts: string[] = []; const textParts: string[] = [];
if (note.cw) textParts.push(note.cw); if (note.cw) textParts.push(note.cw);