11/11/2017, 9:09 AM
Hey guys, is there a way to have generic types implement multiple interfaces? e.g.
Copy code
abstract class SomeFeatureHolder<SomeFeature: Feature>{

     constructor(contextHolder: Feature.Holder<SomeFeature> && ContextProvider)
An alternative would be to make an interface that implements multiple interfaces and having to use that. Would that make more sense? This wouldn't work if one of the base types is an abstract class, because now you are forced to extend that class, who knows where in your class inheritance tree it is