Open m1212e opened 6 months ago
When defining an endpoint with optional query parameters like this:
query: t.Optional( t.Object({ role: t.Optional(t.String()), user: t.Optional(t.String()), }), ),
and using the eden treaty to call that endpoint: I must provide an empty object to satisfy typescript
Maybe this can be adjusted?
When defining an endpoint with optional query parameters like this:
and using the eden treaty to call that endpoint: I must provide an empty object to satisfy typescript
Maybe this can be adjusted?