Skip to content

Commit 48afa7c

Browse files
committed
Fix type
1 parent bd48fc9 commit 48afa7c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • src/plugins/controls/common/control_group

src/plugins/controls/common/control_group/types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ export interface ControlGroupInput extends EmbeddableInput, ControlInput {
3636
/**
3737
* Only parts of the Control Group Input should be persisted
3838
*/
39-
export const persistableControlGroupInputKeys = [
40-
'panels',
41-
'chainingSystem',
42-
'controlStyle',
43-
'ignoreParentSettings',
44-
] as const;
39+
export const persistableControlGroupInputKeys: Array<
40+
keyof Pick<
41+
ControlGroupInput,
42+
'panels' | 'chainingSystem' | 'controlStyle' | 'ignoreParentSettings'
43+
>
44+
> = ['panels', 'chainingSystem', 'controlStyle', 'ignoreParentSettings'];
4545
export type PersistableControlGroupInput = Pick<
4646
ControlGroupInput,
4747
typeof persistableControlGroupInputKeys[number]

0 commit comments

Comments
 (0)