fix type errors of MkAvatars

This commit is contained in:
Lhcfl 2024-04-10 20:37:34 +08:00
parent 73537ec6fa
commit 1a1d817772

View file

@ -9,12 +9,13 @@
<script lang="ts" setup>
import { onMounted, ref } from "vue";
import * as os from "@/os";
import type { entities } from "firefish-js";
const props = defineProps<{
userIds: string[];
}>();
const users = ref([]);
const users = ref<entities.UserDetailed[]>([]);
onMounted(async () => {
users.value = await os.api("users/show", {