Microsoft MakeCode

How to bring in enums from a dependency in an extension

I’ve got an extension which has several other dependencies which we have also authored. Some of the blocks have drop-downs, and it would be useful to define the drop-down list enums in their appropriate dependencies, however, this doesn’t seem to happen consistently. Often the drop-down box in the block is just empty, nothing there at all. Is there a way to properly use enums from a dependency in a main extension?

Do you have a repro?

ec_board_enum_issue_1 ec_board_enum_issue_2 ec_board_enum_issue_3

They start out being available and useable, but if the page is refreshed, or after a few minutes using the extension, they disappear, as in picture 3.