I'm currently building an interface and some object types at the same time. The object types have to implement the interface, but the withInterface(...) requires the interface to actually be built, while I would like a type reference until the interface is completed.In short, it does not accept a type reference, like a field definition.
Is there a way to do this?