Skip to content

Commit 6b96cfd

Browse files
authoredJan 24, 2025··
Update README.md (#3949)
1 parent d724620 commit 6b96cfd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -3006,13 +3006,15 @@ This more declarative API makes schema definitions vastly more concise.
30063006

30073007
### Runtypes
30083008

3009-
[https://github.com/pelotom/runtypes](https://github.com/pelotom/runtypes)
3009+
[https://github.com/runtypes/runtypes](https://github.com/runtypes/runtypes)
30103010

3011-
Good type inference support.
3011+
Runtypes is focused on ergonomics, with good type inference support.
30123012

30133013
- Supports "pattern matching": computed properties that distribute over unions
3014+
- Supports branded types
3015+
- Supports template literals
3016+
- Supports conformance to predefined static types
30143017
- Missing object methods: (deepPartial, merge)
3015-
- Missing nonempty arrays with proper typing (`[T, ...T[]]`)
30163018
- Missing promise schemas
30173019
- Missing error customization
30183020

0 commit comments

Comments
 (0)
Please sign in to comment.