1
0

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

* refactor: paginationの型を明示する

* asではなくsatisfiesを使うように
This commit is contained in:
GrapeApple0
2023-12-26 21:40:27 +09:00
committed by Marie
parent 790f509ebe
commit 6415a789ae
37 changed files with 93 additions and 93 deletions
@@ -82,7 +82,7 @@ const pagination = {
state.value === 'nsfw' ? { nsfw: true } :
{}),
})),
} as Paging;
} satisfies Paging;
function getStatus(instance) {
if (instance.isSuspended) return 'Suspended';