1 2 3 4 5 6 7 8 9
package example:hello; interface greeter { greet: func(name: string) -> string; } world hello { export greeter; }