mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-30 19:57:54 +01:00
update types
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
const { data, pending } = useLazyTrpcQuery('hello', undefined)
|
||||
const { data, pending } = useLazyTrpcQuery('getUser', {
|
||||
name: 'roberts',
|
||||
})
|
||||
|
||||
watchEffect(() => {
|
||||
console.log(data.value)
|
||||
|
||||
Reference in New Issue
Block a user