Skip to content

Commit

Permalink
Merge pull request #6 from cthogg/patch-3
Browse files Browse the repository at this point in the history
Ensure readme example has no typescript errors
  • Loading branch information
mattpocock authored Feb 10, 2023
2 parents 2d80b6d + f9e7738 commit 28b3c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const fetchWithZod = createZodFetcher();
fetchWithZod(
// The schema you want to validate with
z.object({
hello: "world",
hello: z.literal("world"),
}),
// Any parameters you would usually pass to fetch
"/my-api",
Expand Down

0 comments on commit 28b3c5a

Please sign in to comment.