summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkChannelList.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2025-07-03 11:20:26 +0900
committerGitHub <noreply@github.com>2025-07-03 11:20:26 +0900
commit09a5e4b10aad85d27875f3cdc8f32bd820615978 (patch)
treeb79819b40e0630314522461ea01ef365562fb255 /packages/frontend/src/components/MkChannelList.vue
parent🎨 (diff)
downloadmisskey-09a5e4b10aad85d27875f3cdc8f32bd820615978.tar.gz
misskey-09a5e4b10aad85d27875f3cdc8f32bd820615978.tar.bz2
misskey-09a5e4b10aad85d27875f3cdc8f32bd820615978.zip
fix(frontend): Paginatorの型エラー解消 (#16230)
* fix(frontend): fix paginator type error * fix * refactor * fix * fix * fix(paginator): remove readonly type * fix * typo * fix: R -> E * remove any --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkChannelList.vue')
-rw-r--r--packages/frontend/src/components/MkChannelList.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkChannelList.vue b/packages/frontend/src/components/MkChannelList.vue
index 7f82e531ae..394dcb6bd1 100644
--- a/packages/frontend/src/components/MkChannelList.vue
+++ b/packages/frontend/src/components/MkChannelList.vue
@@ -14,15 +14,16 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>
<script lang="ts" setup>
-import type { Paginator } from '@/utility/paginator.js';
+import * as Misskey from 'misskey-js';
+import type { IPaginator } from '@/utility/paginator.js';
import MkChannelPreview from '@/components/MkChannelPreview.vue';
import MkPagination from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js';
const props = withDefaults(defineProps<{
- paginator: Paginator;
+ paginator: IPaginator;
noGap?: boolean;
- extractor?: (item: any) => any;
+ extractor?: (item: any) => Misskey.entities.Channel;
}>(), {
extractor: (item) => item,
});