From 1e1ffe0f938e3d6fcf552eff9e43f3d4397a5af6 Mon Sep 17 00:00:00 2001 From: J M <2364004+Blu-J@users.noreply.github.com> Date: Mon, 12 Dec 2022 11:31:41 -0700 Subject: [PATCH] Update propertiesMatcher.ts --- utils/propertiesMatcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/propertiesMatcher.ts b/utils/propertiesMatcher.ts index 67b5c26..53d98ca 100644 --- a/utils/propertiesMatcher.ts +++ b/utils/propertiesMatcher.ts @@ -13,7 +13,7 @@ type TypeUnion = "union"; // prettier-ignore // deno-fmt-ignore type GuardDefaultNullable = - A extends { readonly default: Type} ? Type : + A extends { readonly default: unknown} ? Type : A extends { readonly nullable: true} ? Type : A extends {readonly nullable: false} ? Type | null | undefined : Type