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