diff --git a/deno/lib/README.md b/deno/lib/README.md
index 91d97beb1..a721693b1 100644
--- a/deno/lib/README.md
+++ b/deno/lib/README.md
@@ -13,7 +13,7 @@
-
+
@@ -219,7 +219,7 @@ Sponsorship at any level is appreciated and encouraged. If you built a paid prod
diff --git a/deno/lib/types.ts b/deno/lib/types.ts
index df64ed1e9..bb2f08519 100644
--- a/deno/lib/types.ts
+++ b/deno/lib/types.ts
@@ -1000,7 +1000,7 @@ export class ZodString extends ZodType
{
return this._addCheck({ kind: "base64", ...errorUtil.errToObj(message) });
}
- ip(options?: string | { version?: "v4" | "v6"; message?: string }) {
+ ip(options?: string | { version?: IpVersion; message?: string }) {
return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
}
diff --git a/src/types.ts b/src/types.ts
index 32845d1d1..5aa30b900 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1000,7 +1000,7 @@ export class ZodString extends ZodType {
return this._addCheck({ kind: "base64", ...errorUtil.errToObj(message) });
}
- ip(options?: string | { version?: "v4" | "v6"; message?: string }) {
+ ip(options?: string | { version?: IpVersion; message?: string }) {
return this._addCheck({ kind: "ip", ...errorUtil.errToObj(options) });
}