Property 'query' does not exist on type ...
I think this is an issue on my end here is how I am defining everything
And in my client, I have this
But when I try to query like this
client.assets.images.query
i get an error property query does not exist, it correctly infers the type assets etc... but not query3 Replies
bump: any ideas?
can't you see any type errors here - you haven't added
assetsRouter
to the router nor imported menusRouter
I did add it, the same way I added menusRouter, the code was getting too long so I only showed how I am adding one router but I am adding all the routers in the same way, I am getting intellisense for the routes just not for the query property
@Alex / KATT 🐱
Just switch menusRouter with assetsRouter and I am getting the same error