Files
cli/vendor/wit-component/tests/components/import-in-adapter-and-main-module/component.wit.print

17 lines
347 B
Plaintext

package root:component;
world root {
import foo:shared-dependency/doc;
import foo:shared-dependency/types;
import main-dep: interface {
use foo:shared-dependency/types.{a-typedef};
foo: func() -> a-typedef;
}
import adapter-dep: interface {
use foo:shared-dependency/types.{a-typedef};
foo: func() -> a-typedef;
}
}