gappedG
tRPC11mo ago
1 reply
gapped

What is the type of the query resolver?

I need to accept queries in my function, like this one:

const somt = t.task.admin.lessons


What is the type of this
somt
variable? Imagine I am passing it as argument to some function, I need to know the type of the argument I should use.
Was this page helpful?