mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
fix types
This commit is contained in:
parent
143296afed
commit
c13856e700
1 changed files with 4 additions and 1 deletions
|
|
@ -25,7 +25,10 @@ const props = defineProps<{
|
|||
type: 'following' | 'followers';
|
||||
}>();
|
||||
|
||||
const followingPaginator = markRaw(new Paginator('users/following', {
|
||||
const followingPaginator = markRaw(new Paginator<'users/following', {
|
||||
req: Misskey.entities.UsersFollowingRequest & { query?: string; };
|
||||
res: Misskey.entities.UsersFollowingResponse;
|
||||
}>('users/following', {
|
||||
limit: 20,
|
||||
computedParams: computed(() => ({
|
||||
userId: props.user.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue