agiledigital / readonly-types

A collection of readonly TypeScript types inspired by the built-in ReadonlyArray, ReadonlyMap, etc.
MIT License
15 stars 2 forks source link

Add note about readonly types and zod to readme #527

Closed danielnixon closed 1 year ago

danielnixon commented 1 year ago

https://github.com/colinhacks/zod doesn't support readonly types; https://github.com/gcanti/io-ts does. If readonly types matter to you (as they very well might if you're reading this repo's readme), we recommend going with io-ts over zod.

danielnixon commented 1 year ago

https://github.com/agiledigital/readonly-types#a-note-on-zod