mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs: typecheck
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user