From 361c789d84a28fb0c243008f21c23f240049c2a6 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Sat, 19 Mar 2022 14:34:19 -0700 Subject: [PATCH] Test husky --- deno/lib/types.ts | 3 +-- src/types.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/deno/lib/types.ts b/deno/lib/types.ts index 98bdb61c4..f5f2753a9 100644 --- a/deno/lib/types.ts +++ b/deno/lib/types.ts @@ -369,9 +369,8 @@ export abstract class ZodType< this.transform = this.transform.bind(this); this.default = this.default.bind(this); this.describe = this.describe.bind(this); - - this.isNullable = this.isNullable.bind(this); this.isOptional = this.isOptional.bind(this); + this.isNullable = this.isNullable.bind(this); } optional(): ZodOptional { diff --git a/src/types.ts b/src/types.ts index bb0b7e100..3e3f8c297 100644 --- a/src/types.ts +++ b/src/types.ts @@ -369,9 +369,8 @@ export abstract class ZodType< this.transform = this.transform.bind(this); this.default = this.default.bind(this); this.describe = this.describe.bind(this); - - this.isNullable = this.isNullable.bind(this); this.isOptional = this.isOptional.bind(this); + this.isNullable = this.isNullable.bind(this); } optional(): ZodOptional {