From cb6c038702bf82abbed91ca081a880261dc2a344 Mon Sep 17 00:00:00 2001 From: Sophia Willows <20146550+sophiabits@users.noreply.github.com> Date: Thu, 7 Apr 2022 22:37:02 +1200 Subject: [PATCH] Remove hanging string expressions --- deno/lib/types.ts | 2 -- src/types.ts | 2 -- 2 files changed, 4 deletions(-) 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 {