Skip to content

Commit

Permalink
Merge pull request #876 from JacobWeisenburger/patch-1
Browse files Browse the repository at this point in the history
README consistency fixes
  • Loading branch information
JacobWeisenburger authored Feb 11, 2022
2 parents abbf325 + 34fe049 commit 6a99cd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -953,15 +953,15 @@ Since Zod is trying to bridge the gap between static and runtime types, it doesn
const stringNumberMap = z.map(z.string(), z.number());

type StringNumberMap = z.infer<typeof stringNumberMap>;
// type StringNumber = Map<string, number>
// type StringNumberMap = Map<string, number>
```

## Sets

```ts
const numberSet = z.set(z.number());
type numberSet = z.infer<typeof numberSet>;
// Set<number>
type NumberSet = z.infer<typeof numberSet>;
// type NumberSet = Set<number>
```

### `.nonempty/.min/.max/.size`
Expand Down

0 comments on commit 6a99cd6

Please sign in to comment.