@augment-vir/common 6.1.3 → 6.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,7 @@ export declare function matchesObjectShape<MatchThisGeneric extends object>(test
|
|
|
45
45
|
export type ObjectWithAtLeastSingleEntryArrays<BaseObject extends object> = {
|
|
46
46
|
[Prop in keyof BaseObject]: BaseObject[Prop] extends ReadonlyArray<any> ? AtLeastOneEntryArray<BaseObject[Prop]> : BaseObject[Prop] extends object ? ObjectWithAtLeastSingleEntryArrays<BaseObject[Prop]> : BaseObject[Prop];
|
|
47
47
|
};
|
|
48
|
-
type NestedBoolean<MatchObject extends object> = Partial<{
|
|
48
|
+
export type NestedBoolean<MatchObject extends object> = Partial<{
|
|
49
49
|
[Prop in keyof MatchObject]: MatchObject[Prop] extends object ? NestedBoolean<MatchObject[Prop]> | boolean : boolean;
|
|
50
50
|
}>;
|
|
51
51
|
/**
|
|
@@ -45,7 +45,7 @@ export declare function matchesObjectShape<MatchThisGeneric extends object>(test
|
|
|
45
45
|
export type ObjectWithAtLeastSingleEntryArrays<BaseObject extends object> = {
|
|
46
46
|
[Prop in keyof BaseObject]: BaseObject[Prop] extends ReadonlyArray<any> ? AtLeastOneEntryArray<BaseObject[Prop]> : BaseObject[Prop] extends object ? ObjectWithAtLeastSingleEntryArrays<BaseObject[Prop]> : BaseObject[Prop];
|
|
47
47
|
};
|
|
48
|
-
type NestedBoolean<MatchObject extends object> = Partial<{
|
|
48
|
+
export type NestedBoolean<MatchObject extends object> = Partial<{
|
|
49
49
|
[Prop in keyof MatchObject]: MatchObject[Prop] extends object ? NestedBoolean<MatchObject[Prop]> | boolean : boolean;
|
|
50
50
|
}>;
|
|
51
51
|
/**
|
|
@@ -45,7 +45,7 @@ export declare function matchesObjectShape<MatchThisGeneric extends object>(test
|
|
|
45
45
|
export type ObjectWithAtLeastSingleEntryArrays<BaseObject extends object> = {
|
|
46
46
|
[Prop in keyof BaseObject]: BaseObject[Prop] extends ReadonlyArray<any> ? AtLeastOneEntryArray<BaseObject[Prop]> : BaseObject[Prop] extends object ? ObjectWithAtLeastSingleEntryArrays<BaseObject[Prop]> : BaseObject[Prop];
|
|
47
47
|
};
|
|
48
|
-
type NestedBoolean<MatchObject extends object> = Partial<{
|
|
48
|
+
export type NestedBoolean<MatchObject extends object> = Partial<{
|
|
49
49
|
[Prop in keyof MatchObject]: MatchObject[Prop] extends object ? NestedBoolean<MatchObject[Prop]> | boolean : boolean;
|
|
50
50
|
}>;
|
|
51
51
|
/**
|