this post was submitted on 10 Sep 2023
113 points (98.3% liked)
Out of the loop
10958 readers
2 users here now
A community that helps people stay up to date with things going on.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
For your API issue, have you tried using type guards or something more sophisticated like Zod?