elysiajs / eden

Fully type-safe Elysia client
MIT License
169 stars 40 forks source link

[treaty] Cannot have `null` body #51

Open somebody1234 opened 8 months ago

somebody1234 commented 8 months ago

Having this type definition in the handler:

{
 body: t.Null(),
}

results in Eden Treaty inferring the signature of .post as params: never...