Force code to convert as "Javascript blocks"

There is this really annoying bug in the block editor that makes it so you have to alter arrays’ assignment from whatever it automatically converted to to any[] every time you do anything in blocks.

While ideally the bug should be fixed, i was wondering if, as a all conversion issues before they’re fixed, there would be a way to force code to convert into the Javascript blocks you see when you do something without a block equivalent.

Is this possible?

The MakeCode team reimplemented this some time ago i belive since in 99% of cases you actually want to convert to blocks instead. For the average user, it can be really annoying! For now i don’t think there’s a viable way but @richard mentioned working on adapting dynamic types in blocks too!

1 Like