From c3595aa48e5b4d92c4a5c0794babcd56635f47d4 Mon Sep 17 00:00:00 2001 From: GermanBluefox Date: Sun, 17 Nov 2024 17:46:48 +0000 Subject: [PATCH] Fixed types --- packages/jsonConfig/src/types.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/jsonConfig/src/types.d.ts b/packages/jsonConfig/src/types.d.ts index 6b8d04bb5..f24b69127 100644 --- a/packages/jsonConfig/src/types.d.ts +++ b/packages/jsonConfig/src/types.d.ts @@ -439,10 +439,10 @@ export interface ConfigItemStaticText extends Omit { /** if icon should be shown: `auth`, `send`, `web`, `warning`, `error`, `info`, `search`, `book`, `help`, `upload`. You can use `base64` icons (it starts with `data:image/svg+xml;base64,...`) or `jpg/png` images (ends with `.png`) . (Request via issue if you need more icons) */ icon?: ConfigIconType; /** styles for the button */ - controlStyle: CustomCSSProperties; + controlStyle?: CustomCSSProperties; } -export interface ConfigItemStaticInfo extends ConfigItem { +export interface ConfigItemStaticInfo extends Omit { type: 'staticInfo'; /** multi-language text or value */ data: ioBroker.StringOrTranslated | number | boolean;