1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
interface bar { a: func(x: u64, y: string) } interface baz { baz: func(x: list<u8>) -> list<u8> } interface foo { a: func() } default world component { import bar: self.bar import baz: self.baz import foo: self.foo }