From f267463876746e40a6d6b530a758420b8d70bee1 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Sat, 17 Aug 2024 18:13:46 +0900 Subject: [PATCH] fix(misskey-js): eliminate any (follow-up of #13523) --- 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 0972f0dd3754..b4fbcffa9774 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; }; };