Skip to content

Commit 297e657

Browse files
added color to enums (#2435)
Co-authored-by: Bluefox <dogafox@gmail.com>
1 parent ca5c93d commit 297e657

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/types-dev/objects.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ declare global {
291291
interface EnumCommon extends ObjectCommon {
292292
/** The IDs of the enum members */
293293
members?: string[];
294+
/** Color attribute used in UI */
295+
color?: string;
294296

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

0 commit comments

Comments
 (0)