needle icon indicating copy to clipboard operation
needle copied to clipboard

Support typealias for components

Open neakor opened this issue 6 years ago • 1 comments

Some developers like to use typealias to change a component's name. We should support this.

neakor avatar Apr 04 '19 18:04 neakor

It would be useful to have support for such things. To not write all required properties manually evey time

protocol HasApiClient {
	var apiClient: ApiClient { get }
}

protocol HasStoryboard {
	var mainStoryboard: UIStoryboard { get }
}

protocol LiveFeedDependency: Dependency, HasApiClient, HasStoryboard {
	var apiClient: ApiClient { get }
}

denis-obukhov avatar Oct 13 '21 05:10 denis-obukhov