cc @RaananW, I think it’s related to the change where enums are now exported as const enum, but I don’t know how to fix the code. Object.keys(BABYLON.FluidRenderingDebug) still works as expected in the browser console log, but not in Monaco.
Not the best behavior from typescript TBH, but yes - exported const enums cannot be iterated (though they can be, since they are exported just the same).
this is a types-only issue. JavaScript users should not be affected by that. es6 users might be if they are iterating over the enum, but this is solvable with a slight types manipulation. I am still working on the es6 solution, but if anyone is affected they should let me know.