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
|
|
@ -46,7 +46,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { ref, computed } from 'vue';
|
||||
import FormPagination from '@/components/MkPagination.vue';
|
||||
import FormPagination, { Paging } from '@/components/MkPagination.vue';
|
||||
import * as os from '@/os.js';
|
||||
import { i18n } from '@/i18n.js';
|
||||
import { definePageMetadata } from '@/scripts/page-metadata.js';
|
||||
|
|
@ -63,7 +63,7 @@ const pagination = {
|
|||
params: {
|
||||
sort: '+lastUsedAt',
|
||||
},
|
||||
};
|
||||
} satisfies Paging;
|
||||
|
||||
function revoke(token) {
|
||||
os.api('i/revoke-token', { tokenId: token.id }).then(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue