I am creating an interface that extends Iterable<T> (as well as other interfaces), however the following will not compile.
interface MyInterface extends Iterable {
public function iterator ():Iterator<Dynamic>;
}
the error message is
MyInterface.hx:1: lines 1-3 : Invalid number of type parameters for Iterable.
What is the correct way to proceed?