diff options
| author | GrapeApple0 <84321396+GrapeApple0@users.noreply.github.com> | 2023-12-26 21:40:27 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-26 21:40:27 +0900 |
| commit | 6855079811401be883167476726644e5730ea792 (patch) | |
| tree | c014508869071f474235f08e81a02770d9a56170 /packages/frontend/src/components/MkNoteDetailed.vue | |
| parent | fix(backend): 非センシティブのみ(リモートはいいねのみ)... (diff) | |
| download | misskey-6855079811401be883167476726644e5730ea792.tar.gz misskey-6855079811401be883167476726644e5730ea792.tar.bz2 misskey-6855079811401be883167476726644e5730ea792.zip | |
refactor: paginationの型を明示する (#12809)
* refactor: paginationの型を明示する
* asではなくsatisfiesを使うように
Diffstat (limited to 'packages/frontend/src/components/MkNoteDetailed.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNoteDetailed.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 33a6786d03..f1bcdec7fb 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -224,7 +224,7 @@ import { claimAchievement } from '@/scripts/achievements.js'; import MkRippleEffect from '@/components/MkRippleEffect.vue'; import { showMovedDialog } from '@/scripts/show-moved-dialog.js'; import MkUserCardMini from '@/components/MkUserCardMini.vue'; -import MkPagination from '@/components/MkPagination.vue'; +import MkPagination, { Paging } from '@/components/MkPagination.vue'; import MkReactionIcon from '@/components/MkReactionIcon.vue'; import MkButton from '@/components/MkButton.vue'; @@ -307,7 +307,7 @@ const renotesPagination = computed(() => ({ params: { noteId: appearNote.value.id, }, -})); +} satisfies Paging)); const reactionsPagination = computed(() => ({ endpoint: 'notes/reactions', @@ -316,7 +316,7 @@ const reactionsPagination = computed(() => ({ noteId: appearNote.value.id, type: reactionTabType.value, }, -})); +} satisfies Paging)); useNoteCapture({ rootEl: el, |