Hello, is there suppose to be a pages/api/[...ts-rest].ts file? I only see a hello.ts file.
I tried editing the pokeApi.ts but the client (ie pages/index.tsx) doesn't enforce the new typings.
eg:
const query = queryClient.getAllPokemon.useQuery(
['pokemon'],
{ query: { gibberish: 10 } }, // I'm expecting it to warn me here
{ staleTime: Infinity }
)
Hello, is there suppose to be a
pages/api/[...ts-rest].tsfile? I only see a hello.ts file.I tried editing the
pokeApi.tsbut the client (ie pages/index.tsx) doesn't enforce the new typings.eg: