I encountered an issue with using c.type to write router,
when I initialize client, ts give me an error about a required 'headers' .
I think the issue perhaps in
// dsl.ts
type UniversalMerge = ...
only when I combined header with baseHeaders can rise this issue
How to reproduce
Expected behavior
client.posts.getPost({}) // should not throw ts error
Describe the bug
I encountered an issue with using c.type to write router, when I initialize client, ts give me an error about a required 'headers' . I think the issue perhaps in
only when I combined header with baseHeaders can rise this issue
How to reproduce
Expected behavior
Code reproduction
ts-rest version
3.45.2