trpc / v10-playground

tRPC v10 procedure play
https://stackblitz.com/github/trpc/v10-playground?file=src%2Fserver%2Findex.ts,src%2Fclient.ts,src%2Fserver%2Frouters%2FpostRouter.ts&view=editor
13 stars 3 forks source link

Pass args to expectTypeOf #4

Closed mmkal closed 2 years ago

mmkal commented 2 years ago

Not important, just thought I’d mention that you can actually pass a variable to expectTypeOf rather than using and a PR is as easy a way as any to communicate that!

note: not sure if you tried this and it doesn’t work or something- if so it’s a bug in expect-type