Skip to content

Commit

Permalink
Small typo in readme (contraining => constraining) (colinhacks#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonParton authored and MrAwesome committed May 20, 2022
1 parent c9c43c4 commit d30e196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ class ZodType<
> { ... }
```

By contraining these in your generic input, you can limit what schemas are allowable as inputs to your function:
By constraining these in your generic input, you can limit what schemas are allowable as inputs to your function:

```ts
function makeSchemaOptional<T extends z.ZodType<string>>(schema: T) {
Expand Down

0 comments on commit d30e196

Please sign in to comment.