diff --git a/deno/lib/types.ts b/deno/lib/types.ts index 21a5013c6..379eb3fd2 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -728,7 +728,6 @@ export class ZodNumber extends ZodType { checks: [], typeName: ZodFirstPartyTypeKind.ZodNumber, ...processCreateParams(params), - ...processCreateParams(params), }); }; diff --git a/src/types.ts b/src/types.ts index cc8e5f26f..437605490 100644 --- a/src/types.ts +++ b/src/types.ts @@ -728,7 +728,6 @@ export class ZodNumber extends ZodType { checks: [], typeName: ZodFirstPartyTypeKind.ZodNumber, ...processCreateParams(params), - ...processCreateParams(params), }); };