Skip to content

Commit

Permalink
Small typo in readme (contraining => constraining) (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonParton committed Apr 22, 2022
1 parent cdca0db commit f6981f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
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 f6981f8

Please sign in to comment.