I need help understanding request body types

Hello 👋
I need help understanding how to tell typescript what type of value I expect json to be.
Solution:
or cast using as [type]
Jump to solution
3 Replies
Neto
Neto2y ago
you can eiter use zod to parse the json variable
Solution
Neto
Neto2y ago
or cast using as [type]
Nurof3n
Nurof3n2y ago
ok, thanks 👍
Want results from more Discord servers?
Add your server