Skip to content

Commit 78a4090

Browse files
authored
docs: update comparison with runtypes (#2536)
1 parent 81a89f5 commit 78a4090

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2789,7 +2789,7 @@ This more declarative API makes schema definitions vastly more concise.
27892789

27902790
[https://github.com/pelotom/runtypes](https://github.com/pelotom/runtypes)
27912791

2792-
Good type inference support, but limited options for object type masking (no `.pick` , `.omit` , `.extend` , etc.). No support for `Record` s (their `Record` is equivalent to Zod's `object` ). They DO support readonly types, which Zod does not.
2792+
Good type inference support. They DO support readonly types, which Zod does not.
27932793

27942794
- Supports "pattern matching": computed properties that distribute over unions
27952795
- Supports readonly types

0 commit comments

Comments
 (0)