Skip to content

Commit

Permalink
3.17.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed Jul 22, 2022
1 parent b29cee1 commit a19acb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/lib/README.md
Expand Up @@ -1704,7 +1704,7 @@ const Strings = z
To transform data after parsing, use the `transform` method.

```ts
const stringToNumber = z.string().transform((val) => myString.length);
const stringToNumber = z.string().transform((val) => val.length);
stringToNumber.parse("string"); // => 6
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "zod",
"version": "3.17.9",
"version": "3.17.10",
"description": "TypeScript-first schema declaration and validation library with static type inference",
"main": "./lib/index.js",
"types": "./index.d.ts",
Expand Down

0 comments on commit a19acb8

Please sign in to comment.