From a6e13ccf9f5656e386bef63e13db3561b692aec9 Mon Sep 17 00:00:00 2001 From: Sophia Willows <20146550+sophiabits@users.noreply.github.com> Date: Thu, 7 Apr 2022 23:13:43 +1200 Subject: [PATCH] Remove hanging string expressions (#1073) --- 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 {