From 83c04c55add7280ff3f65816c75f08d17964c53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 17 Aug 2024 18:15:46 +0900 Subject: [PATCH] fix(misskey-js): eliminate any (follow-up of #13523) (#14422) --- packages/misskey-js/src/consts.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/misskey-js/src/consts.ts b/packages/misskey-js/src/consts.ts index 0972f0dd37..b4fbcffa97 100644 --- a/packages/misskey-js/src/consts.ts +++ b/packages/misskey-js/src/consts.ts @@ -4,9 +4,12 @@ import type { Ad, Announcement, EmojiDetailed, + Flash, + GalleryPost, InviteCode, MetaDetailed, Note, + Page, Role, ReversiGameDetailed, SystemWebhook, @@ -405,18 +408,18 @@ export type ModerationLogPayloads = { pageId: string; pageUserId: string; pageUserUsername: string; - page: any; + page: Page; }; deleteFlash: { flashId: string; flashUserId: string; flashUserUsername: string; - flash: any; + flash: Flash; }; deleteGalleryPost: { postId: string; postUserId: string; postUserUsername: string; - post: any; + post: GalleryPost; }; };