Should be great that `typealias` for annotations c...
# language-proposals
j
Should be great that
typealias
for annotations could be shortcuts for annotatinos with params, sample:
Copy code
typealias ViewModelInject = Inject(param1 = param1, param2 = param2, ...) // doesn't work
I think it is only possible to do
Copy code
typealias ViewModelInject = Inject
j
But then it's no longer a typealias since it no longer aliasing just a type. What happens if I do
List<ViewModelInject>
now?
j
Yeah, then the only way is creating a new annotation no?