zak.taccardi
11/24/2018, 8:40 PMtypealias
as a namespace?
typealias MainViewModel = ViewModel<State>
Then I’d like to have classes defined as:
MainViewModel.State
benleggiero
11/26/2018, 2:39 AMState
is already nested within ViewModel
, but other than that the type alias inherits all the syntax of the original typezak.taccardi
11/26/2018, 2:46 AMbenleggiero
12/08/2018, 6:05 PM