diff options
| author | GrapeApple0 <84321396+GrapeApple0@users.noreply.github.com> | 2023-12-26 21:40:27 +0900 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2023-12-28 09:45:16 +0100 |
| commit | 6415a789ae208d3cfca7ddff4cd8139695fdacad (patch) | |
| tree | 22060d5c69be1229559995e436d000964394067f /packages/frontend/src/components/MkNoteDetailed.vue | |
| parent | fix(backend): 非センシティブのみ(リモートはいいねのみ)... (diff) | |
| download | sharkey-6415a789ae208d3cfca7ddff4cd8139695fdacad.tar.gz sharkey-6415a789ae208d3cfca7ddff4cd8139695fdacad.tar.bz2 sharkey-6415a789ae208d3cfca7ddff4cd8139695fdacad.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 e287890e2c..a3fc3058d9 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -253,7 +253,7 @@ import { checkAnimationFromMfm } from '@/scripts/check-animated-mfm.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'; @@ -361,7 +361,7 @@ const renotesPagination = computed(() => ({ params: { noteId: appearNote.value.id, }, -})); +} satisfies Paging)); const reactionsPagination = computed(() => ({ endpoint: 'notes/reactions', @@ -370,7 +370,7 @@ const reactionsPagination = computed(() => ({ noteId: appearNote.value.id, type: reactionTabType.value, }, -})); +} satisfies Paging)); async function addReplyTo(replyNote: Misskey.entities.Note) { replies.value.unshift(replyNote); |