diff --git a/deno/lib/types.ts b/deno/lib/types.ts index a8385d5cf..a3b918884 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -700,7 +700,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 8c78e26c6..51648e735 100644 --- a/src/types.ts +++ b/src/types.ts @@ -700,7 +700,6 @@ export class ZodNumber extends ZodType { checks: [], typeName: ZodFirstPartyTypeKind.ZodNumber, ...processCreateParams(params), - ...processCreateParams(params), }); };