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

@@ -61,7 +61,7 @@ import { computed, shallowRef, ref } from 'vue';
import XHeader from './_header_.vue';
import MkInput from '@/components/MkInput.vue';
import MkSelect from '@/components/MkSelect.vue';
import MkPagination from '@/components/MkPagination.vue';
import MkPagination, { Paging } from '@/components/MkPagination.vue';
import * as os from '@/os.js';
import { lookupUser } from '@/scripts/lookup-user.js';
import { i18n } from '@/i18n.js';
@@ -87,7 +87,7 @@ const pagination = {
hostname: searchHost.value,
})),
offsetMode: true,
};
} satisfies Paging;
function searchUser() {
os.selectUser().then(user => {