refactor: paginationの型を明示する (#12809)
* refactor: paginationの型を明示する * asではなくsatisfiesを使うように
This commit is contained in:
parent
9022b05fea
commit
6855079811
37 changed files with 93 additions and 93 deletions
|
|
@ -67,7 +67,7 @@ import * as Misskey from 'misskey-js';
|
|||
import MkButton from '@/components/MkButton.vue';
|
||||
import * as os from '@/os.js';
|
||||
import MkContainer from '@/components/MkContainer.vue';
|
||||
import MkPagination from '@/components/MkPagination.vue';
|
||||
import MkPagination, { Paging } from '@/components/MkPagination.vue';
|
||||
import MkGalleryPostPreview from '@/components/MkGalleryPostPreview.vue';
|
||||
import MkFollowButton from '@/components/MkFollowButton.vue';
|
||||
import { url } from '@/config.js';
|
||||
|
|
@ -93,7 +93,7 @@ const otherPostsPagination = {
|
|||
params: computed(() => ({
|
||||
userId: post.value.user.id,
|
||||
})),
|
||||
};
|
||||
} satisfies Paging;
|
||||
|
||||
function fetchPost() {
|
||||
post.value = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue