Skip to content

Commit

Permalink
Fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Nov 17, 2024
1 parent 9bf3909 commit c3595aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/jsonConfig/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@ export interface ConfigItemStaticText extends Omit<ConfigItem, 'button'> {
/** 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<ConfigItem, 'data'> {
type: 'staticInfo';
/** multi-language text or value */
data: ioBroker.StringOrTranslated | number | boolean;
Expand Down

0 comments on commit c3595aa

Please sign in to comment.