builder-settings-types 0.0.206 → 0.0.207
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.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -212,7 +212,7 @@ export declare interface DimensionValue {
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
declare type ExtractSettingGroupValues<T> = T extends SettingGroup<infer S> ? {
|
|
215
|
-
[K in keyof S]?: S[K] extends Setting<infer V, any> ? V : S[K] extends SettingGroup<any> ? ExtractSettingGroupValues<S[K]> :
|
|
215
|
+
[K in keyof S]?: S[K] extends Setting<infer V, any> ? V : S[K] extends SettingGroup<any> ? ExtractSettingGroupValues<S[K]> : any;
|
|
216
216
|
} : never;
|
|
217
217
|
|
|
218
218
|
export declare class GapSetting extends Setting<number, GapSettingsProps> {
|
|
@@ -653,7 +653,7 @@ export declare interface SettingProps<T> {
|
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
export declare type SettingsToProps<T> = T extends SettingGroup<infer S> ? {
|
|
656
|
-
[K in keyof S]?: S[K] extends Setting<infer V, any> ? V : S[K] extends SettingGroup<any> ? ExtractSettingGroupValues<S[K]> :
|
|
656
|
+
[K in keyof S]?: S[K] extends Setting<infer V, any> ? V : S[K] extends SettingGroup<any> ? ExtractSettingGroupValues<S[K]> : any;
|
|
657
657
|
} : never;
|
|
658
658
|
|
|
659
659
|
export declare type SettingsToPropsOptional<T> = DeepPartial<SettingsToProps<T>>;
|
package/package.json
CHANGED