docs: typecheck

This commit is contained in:
Benjamin Canac
2024-07-23 11:51:02 +02:00
parent 64e8a87073
commit b2e0566c16
3 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ const selected = ref([])
async function search (q: string) {
loading.value = true
const users = await $fetch<any[]>('https://jsonplaceholder.typicode.com/users', { params: { q } })
const users: any[] = await $fetch('https://jsonplaceholder.typicode.com/users', { params: { q } })
loading.value = false