From 845138ee9fbcce8a0c07f46e22e83f23f7431080 Mon Sep 17 00:00:00 2001 From: J M <2364004+Blu-J@users.noreply.github.com> Date: Mon, 12 Dec 2022 11:32:02 -0700 Subject: [PATCH] Update propertiesMatcher.ts --- utils/propertiesMatcher.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/utils/propertiesMatcher.ts b/utils/propertiesMatcher.ts index 53d98ca..e4ca9d1 100644 --- a/utils/propertiesMatcher.ts +++ b/utils/propertiesMatcher.ts @@ -41,8 +41,6 @@ type GuardObject = A extends {readonly type: TypeObject, readonly spec: infer B} ? ( B extends Record ? {readonly [K in keyof B & string]: _>} : {_error: "Invalid Spec"} - // B extends Record ? {[K in keyof B]: GuardAll} : - // "a" ) : unknown