update types

This commit is contained in:
Robert Soriano
2022-05-17 15:21:20 -07:00
parent c2001cdbac
commit fdbbe0a60a
2 changed files with 31 additions and 28 deletions

View File

@@ -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)