Closed alisomay closed 1 year ago
Thanks for posting, agreed we should support these cases, marking as a bug, and I'll aim to pick it up soon.
I've landed the fix for this in https://github.com/bytecodealliance/componentize-js/commit/5e68ce33f2fe5f6056ce00a20757fee6159acdff, going out in the next release later today or tomorrow. But if there's anything I've missed please do post back. Thanks for the issue!
Great to hear! I'll give it a try in the upcoming days. Thank, you.
a.wit
b.wit
Does not work with componentize.
Does not work with componentize.
Would work with componentize but then the type will not be recognized in wit
On the
js
side I'd like to use it asIf
bar
was afunc
then I can use it as above.I couldn't yet find a way to import types from interfaces.
Basically the ideal form for me would be,
which works with no issues when writing the component in Rust with
wit-bindgen
.I'd be grateful if you could point me to the right direction. 🙏