From 78a409012a4dc34a455f5c4a7e028ca47c921e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CA=9C=C9=AA=E1=B4=8D=E1=B4=9C=CA=80=E1=B4=80=20Yu=CC=84?= Date: Mon, 31 Jul 2023 13:44:47 +0900 Subject: [PATCH] docs: update comparison with `runtypes` (#2536) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc8e51cf1..ce0bf26c0 100644 --- a/README.md +++ b/README.md @@ -2789,7 +2789,7 @@ This more declarative API makes schema definitions vastly more concise. [/~https://github.com/pelotom/runtypes](/~https://github.com/pelotom/runtypes) -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. +Good type inference support. They DO support readonly types, which Zod does not. - Supports "pattern matching": computed properties that distribute over unions - Supports readonly types