You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the error source.js:2:43 SyntaxError: ambiguous indirect export: MyEnum when I try to import my enum like: import { MyEnum } from 'my_package:my_world/my_module' -- I see in debug mode that none of the enums appear to be exported.
The text was updated successfully, but these errors were encountered:
Yeah I think it's important. I've got a ton of enums specified in wit files. Other guest code (ie. Rust) has access to them, so I think it makes sense that JS guest code would too. Otherwise the guest would have to replicate them so they can be passed as data. I'll keep an eye on the other issue, thanks.
I'm getting the error
source.js:2:43 SyntaxError: ambiguous indirect export: MyEnum
when I try to import my enum like:import { MyEnum } from 'my_package:my_world/my_module'
-- I see in debug mode that none of the enums appear to be exported.The text was updated successfully, but these errors were encountered: