Skip to content

Commit

Permalink
enumIds is just an array of strings...
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Jan 29, 2024
1 parent e7bd4d0 commit a26ed99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/javascript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ declare global {
common: StateCommon;
acl?: StateACL;
/** The IDs of enums this state is assigned to. For example ["enum.functions.Licht","enum.rooms.Garten"] */
enumIds?: Array<iobJS.StringOrTranslated>;
enumIds?: string[];
/** The names of enums this state is assigned to. For example ["Licht","Garten"] */
enumNames?: Array<iobJS.StringOrTranslated>;
}
Expand Down Expand Up @@ -867,7 +867,7 @@ declare global {
deviceId?: string;
deviceName?: string;
/** The IDs of enums this state is assigned to. For example ["enum.functions.Licht","enum.rooms.Garten"] */
enumIds?: Array<iobJS.StringOrTranslated>;
enumIds?: string[];
/** The names of enums this state is assigned to. For example ["Licht","Garten"] */
enumNames?: Array<iobJS.StringOrTranslated>;
/** new state */
Expand Down

0 comments on commit a26ed99

Please sign in to comment.