Skip to content

Commit

Permalink
fix(config): style was not a valid config option (card-mod/picture-…
Browse files Browse the repository at this point in the history
…element)

Fixes RomRider#15
  • Loading branch information
RomRider committed Jan 28, 2021
1 parent 6d66fb0 commit 0a38778
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/types-config-ti.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const ChartCardExternalConfig = t.iface([], {
"layout": t.opt("string"),
"apex_config": t.opt("any"),
"header": t.opt("ChartCardHeaderExternalConfig"),
"style": t.opt("any"),
});

export const ChartCardSpanExtConfig = t.iface([], {
Expand Down
3 changes: 3 additions & 0 deletions src/types-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export interface ChartCardExternalConfig {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
apex_config?: any;
header?: ChartCardHeaderExternalConfig;
// Support to define style (card-mod or picture-entity)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
style?: any;
}

export interface ChartCardSpanExtConfig {
Expand Down

0 comments on commit 0a38778

Please sign in to comment.