Skip to content

Commit d399a42

Browse files
committed
Explainer
1 parent f8a96c7 commit d399a42

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
// Explain zod's types
1+
import { z } from "zod";
22

3-
export {};
3+
type Example = z.ZodType;
4+
5+
const transformer = z.string().transform((s) => Number(s));

0 commit comments

Comments
 (0)