Skip to content

Commit

Permalink
added color to enums (#2435)
Browse files Browse the repository at this point in the history
Co-authored-by: Bluefox <[email protected]>
  • Loading branch information
foxriver76 and GermanBluefox authored Sep 18, 2023
1 parent ca5c93d commit 297e657
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types-dev/objects.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ declare global {
interface EnumCommon extends ObjectCommon {
/** The IDs of the enum members */
members?: string[];
/** Color attribute used in UI */
color?: string;

// Make it possible to narrow the object type using the custom property
custom?: undefined;
Expand Down

0 comments on commit 297e657

Please sign in to comment.