https://kotlinlang.org logo
#android
Title
# android
l

Lilly

01/08/2021, 2:06 PM
Stupid question, if you use typealias, do you have one for mutable type and one for the non-mutable counterpart like:
Copy code
typealias Parameter = Map<WebKey, ByteArray>
typealias MutableParameter = MutableMap<WebKey, ByteArray>
or do you just define the mutable typealias and convert the type to its counterpart at the right time?
k

kenkyee

01/08/2021, 7:45 PM
Two separate ones
👍 1
2 Views