File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3006,13 +3006,15 @@ This more declarative API makes schema definitions vastly more concise.
3006
3006
3007
3007
### Runtypes
3008
3008
3009
- [ https://github.com/pelotom /runtypes ] ( https://github.com/pelotom /runtypes )
3009
+ [ https://github.com/runtypes /runtypes ] ( https://github.com/runtypes /runtypes )
3010
3010
3011
- Good type inference support.
3011
+ Runtypes is focused on ergonomics, with good type inference support.
3012
3012
3013
3013
- Supports "pattern matching": computed properties that distribute over unions
3014
+ - Supports branded types
3015
+ - Supports template literals
3016
+ - Supports conformance to predefined static types
3014
3017
- Missing object methods: (deepPartial, merge)
3015
- - Missing nonempty arrays with proper typing (` [T, ...T[]] ` )
3016
3018
- Missing promise schemas
3017
3019
- Missing error customization
3018
3020
You can’t perform that action at this time.
0 commit comments