refactor: paginationの型を明示する (#12809)

* refactor: paginationの型を明示する

* asではなくsatisfiesを使うように
This commit is contained in:
GrapeApple0
2023-12-26 21:40:27 +09:00
committed by GitHub
parent 9022b05fea
commit 6855079811
37 changed files with 93 additions and 93 deletions

View File

@@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
import { computed } from 'vue';
import * as Misskey from 'misskey-js';
import MkPagePreview from '@/components/MkPagePreview.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
const props = defineProps<{
user: Misskey.entities.User;
@@ -27,5 +27,5 @@ const pagination = {
params: computed(() => ({
userId: props.user.id,
})),
};
} satisfies Paging;
</script>