Skip to content

Commit

Permalink
fix (docs): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Jul 20, 2024
1 parent cba088b commit 5d71a1d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ console.log('users', users);

### Dates

Zod expectes JavaScript Date objects, but most models return dates as strings. You can use the `z.string().datetime()` method to specify and validate datetime strings.
Zod expects JavaScript Date objects, but most models return dates as strings. You can use the `z.string().datetime()` method to specify and validate datetime strings.

```ts highlight="6-9"
const result = await generateObject({
Expand Down

0 comments on commit 5d71a1d

Please sign in to comment.