From bdec4bf87a546efd07b7c0076d9205f690ce021f Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Mon, 1 Sep 2025 10:16:33 +0900 Subject: refactor --- packages/frontend/src/plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/frontend/src/plugin.ts') diff --git a/packages/frontend/src/plugin.ts b/packages/frontend/src/plugin.ts index 346e275575..657197d1b3 100644 --- a/packages/frontend/src/plugin.ts +++ b/packages/frontend/src/plugin.ts @@ -205,13 +205,13 @@ type HandlerDef = { handler: (note: Misskey.entities.Note) => void; }; note_view_interruptor: { - handler: (note: Misskey.entities.Note) => unknown; + handler: (note: Misskey.entities.Note) => Misskey.entities.Note; }; note_post_interruptor: { handler: (note: FIXME) => unknown; }; page_view_interruptor: { - handler: (page: Misskey.entities.Page) => unknown; + handler: (page: Misskey.entities.Page) => Misskey.entities.Page; }; }; -- cgit v1.2.3-freya