-
Hello and thanks for the great work on trpc! I am trying to use the new Example: const router = trpc.router();
router.query("test", {
output: z.object({
propA: z.string(),
}),
resolve() {
// missing `propA`
return {};
},
}); I expect TS to say |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @dodas, can you please confirm that you have set |
Beta Was this translation helpful? Give feedback.
-
Yes, I do. |
Beta Was this translation helpful? Give feedback.
Yes, I do.
Please see the reproduction here: https://stackblitz.com/edit/typescript-zqmach?file=index.ts