Debian Codegraph @

crates/wit-component/tests/components/import-export/component.wit.print

raw
1 package root:component;
2
3 world root {
4 import foo: interface {
5 a: func() -> string;
6 }
7
8 export a: func(x: string) -> tuple<string, u32, string>;
9 export bar: interface {
10 a: func();
11
12 b: func() -> string;
13 }
14 }