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
Netoโ€ข12mo ago
you can eiter use zod to parse the json variable
Solution
Neto
Netoโ€ข12mo ago
or cast using as [type]
Nurof3n
Nurof3nโ€ข12mo ago
ok, thanks ๐Ÿ‘