Update use-pagination.ts

This commit is contained in:
syuilo 2025-05-07 12:03:58 +09:00
parent 24f83a105c
commit 0bdb4943af
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
import { computed, isRef, onMounted, ref, shallowRef, triggerRef, watch } from 'vue';
import * as Misskey from 'misskey-js';
import type { ComputedRef, Ref, ShallowRef } from 'vue';
import type { ComputedRef, DeepReadonly, Ref, ShallowRef } from 'vue';
import { misskeyApi } from '@/utility/misskey-api.js';
const MAX_ITEMS = 30;
@ -237,7 +237,7 @@ export function usePagination<T extends MisskeyEntity>(props: {
});
return {
items,
items: items as DeepReadonly<ShallowRef<T[]>>,
queuedAheadItemsCount,
fetching,
fetchingOlder,