From f3fffce6a981dfb51c1ad17f129bc891523ed265 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Mon, 8 Sep 2025 14:57:53 +0900 Subject: [PATCH] fix type --- packages/frontend/src/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/plugin.ts b/packages/frontend/src/plugin.ts index 657197d1b3..e6545bb8e7 100644 --- a/packages/frontend/src/plugin.ts +++ b/packages/frontend/src/plugin.ts @@ -205,7 +205,7 @@ type HandlerDef = { handler: (note: Misskey.entities.Note) => void; }; note_view_interruptor: { - handler: (note: Misskey.entities.Note) => Misskey.entities.Note; + handler: (note: Misskey.entities.Note) => Misskey.entities.Note | null; }; note_post_interruptor: { handler: (note: FIXME) => unknown;