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