diff --git a/README.md b/README.md index 89aa33736..c0ea32869 100644 --- a/README.md +++ b/README.md @@ -964,7 +964,7 @@ You can customize certain error messages when creating a nan schema. ```ts const isNaN = z.nan({ required_error: "isNaN is required", - invalid_type_error: "isNaN must be not a number", + invalid_type_error: "isNaN must be 'not a number'", }); ```