From b40b115f709967208134961e7926597fef6b4de7 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: Fri, 30 Jun 2023 05:33:25 +0900 Subject: [PATCH] docs: update comparison with `runtypes` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a32bb3da8..92b33b578 100644 --- a/README.md +++ b/README.md @@ -2781,7 +2781,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