fix types
This commit is contained in:
parent
143296afed
commit
c13856e700
|
|
@ -25,7 +25,10 @@ const props = defineProps<{
|
||||||
type: 'following' | 'followers';
|
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,
|
limit: 20,
|
||||||
computedParams: computed(() => ({
|
computedParams: computed(() => ({
|
||||||
userId: props.user.id,
|
userId: props.user.id,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue