1 2 3 4 5 6 7
interface foo { log: func(s: string) } default world component { import foo: self.foo }