diff --git a/deno/lib/types.ts b/deno/lib/types.ts index c2bbbc2e1..4a0c4f59e 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -449,8 +449,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 d1b902345..3e9cf6ec0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -405,8 +405,6 @@ export abstract class ZodType< } optional(): ZodOptional { - (""); - ("asdf"); return ZodOptional.create(this) as any; } nullable(): ZodNullable {