diff --git a/deno/lib/types.ts b/deno/lib/types.ts index 3d8026c68..7b2054790 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -394,8 +394,6 @@ export abstract class ZodType< } optional(): ZodOptional { - (""); - ("asdf"); return ZodOptional.create(this) as any; } nullable(): ZodNullable { diff --git a/src/types.ts b/src/types.ts index 358b744c3..cb383fc25 100644 --- a/src/types.ts +++ b/src/types.ts @@ -394,8 +394,6 @@ export abstract class ZodType< } optional(): ZodOptional { - (""); - ("asdf"); return ZodOptional.create(this) as any; } nullable(): ZodNullable {