koa-body
koa-body copied to clipboard
Change request body type to unknown
Merged declarations should use as narrow types as possible, since they could interfere with other other libraries or application code. I believe the unknown
type is more appropriate here since it allows the body type to be further narrowed later on, e.g., by validation middleware.