We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd48fc9 commit 48afa7cCopy full SHA for 48afa7c
1 file changed
src/plugins/controls/common/control_group/types.ts
@@ -36,12 +36,12 @@ export interface ControlGroupInput extends EmbeddableInput, ControlInput {
36
/**
37
* Only parts of the Control Group Input should be persisted
38
*/
39
-export const persistableControlGroupInputKeys = [
40
- 'panels',
41
- 'chainingSystem',
42
- 'controlStyle',
43
- 'ignoreParentSettings',
44
-] as const;
+export const persistableControlGroupInputKeys: Array<
+ keyof Pick<
+ ControlGroupInput,
+ 'panels' | 'chainingSystem' | 'controlStyle' | 'ignoreParentSettings'
+ >
+> = ['panels', 'chainingSystem', 'controlStyle', 'ignoreParentSettings'];
45
export type PersistableControlGroupInput = Pick<
46
ControlGroupInput,
47
typeof persistableControlGroupInputKeys[number]
0 commit comments