Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 190 Bytes

File metadata and controls

1 lines (1 loc) · 190 Bytes
  • When parsing unknown/external JSON data (e.g. resp.json(), JSON.parse()), always use zod validation instead of type assertions or inline type annotations. This ensures runtime safety.