summaryrefslogtreecommitdiff
path: root/packages/frontend/src/plugin.ts
diff options
context:
space:
mode:
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;
};
};