fix type errors of MkAvatars
This commit is contained in:
parent
73537ec6fa
commit
1a1d817772
|
@ -9,12 +9,13 @@
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { onMounted, ref } from "vue";
|
import { onMounted, ref } from "vue";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
|
import type { entities } from "firefish-js";
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
userIds: string[];
|
userIds: string[];
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const users = ref([]);
|
const users = ref<entities.UserDetailed[]>([]);
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
users.value = await os.api("users/show", {
|
users.value = await os.api("users/show", {
|
||||||
|
|
Loading…
Reference in New Issue