Skip to content

Commit

Permalink
Merge pull request #129 from estubmo/patch-1
Browse files Browse the repository at this point in the history
Docs: Wrong schema in docs methods/index.mdx
  • Loading branch information
fabian-hiller authored Aug 28, 2023
2 parents f981d45 + 27662e8 commit 00d234f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const NumberSchema = coerce(number(), Number);
const numberOutput = parse(NumberSchema, '1234'); // 1234

const DateSchema = coerce(date(), (i) => new Date(i));
const dateOutput = parse(NumberSchema, '2023-07-31'); // Date
const dateOutput = parse(DateSchema, '2023-07-31'); // Date
```

### Transform
Expand Down

0 comments on commit 00d234f

Please sign in to comment.