Skip to content

Commit 9bd3879

Browse files
authoredAug 23, 2023
docs: remove obsolete text about readonly types (#2676)
Readonly types were introduced in Zod v3.22.0: https://github.com/colinhacks/zod/releases/tag/v3.22.0
1 parent 1e23990 commit 9bd3879

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2825,10 +2825,9 @@ This more declarative API makes schema definitions vastly more concise.
28252825

28262826
[https://github.com/pelotom/runtypes](https://github.com/pelotom/runtypes)
28272827

2828-
Good type inference support. They DO support readonly types, which Zod does not.
2828+
Good type inference support.
28292829

28302830
- Supports "pattern matching": computed properties that distribute over unions
2831-
- Supports readonly types
28322831
- Missing object methods: (deepPartial, merge)
28332832
- Missing nonempty arrays with proper typing (`[T, ...T[]]`)
28342833
- Missing promise schemas

0 commit comments

Comments
 (0)
Please sign in to comment.