summaryrefslogtreecommitdiff
path: root/packages/frontend/src/plugin.ts
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-09-01 10:16:33 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-09-01 10:16:33 +0900
commitbdec4bf87a546efd07b7c0076d9205f690ce021f (patch)
tree4687b670f1015aa9caa82837e47358dbc25ce454 /packages/frontend/src/plugin.ts
parentrefactor (diff)
downloadmisskey-bdec4bf87a546efd07b7c0076d9205f690ce021f.tar.gz
misskey-bdec4bf87a546efd07b7c0076d9205f690ce021f.tar.bz2
misskey-bdec4bf87a546efd07b7c0076d9205f690ce021f.zip
refactor
Diffstat (limited to 'packages/frontend/src/plugin.ts')
-rw-r--r--packages/frontend/src/plugin.ts4
1 files changed, 2 insertions, 2 deletions
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;
};
};