The typing for Params part in POST handler should be never , so we can avoid accidental pick unwanted thing later. It will also pass the typescript warning about object.
The Query part could be omitted too.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The typing for Params part in POST handler should be
never
, so we can avoid accidental pick unwanted thing later. It will also pass the typescript warning about object.The Query part could be omitted too.