mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 10:21:55 +00:00
Update propertiesMatcher.ts
This commit is contained in:
@@ -41,8 +41,6 @@ type GuardObject<A> =
|
||||
A extends {readonly type: TypeObject, readonly spec: infer B} ? (
|
||||
B extends Record<string, unknown> ? {readonly [K in keyof B & string]: _<GuardAll<B[K]>>} :
|
||||
{_error: "Invalid Spec"}
|
||||
// B extends Record<string, unknown> ? {[K in keyof B]: GuardAll<B[K]>} :
|
||||
// "a"
|
||||
) :
|
||||
unknown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user