hi there, is kotlin have smth like #define? - wan...
# announcements
k
hi there, is kotlin have smth like #define? - wanna replace
fun getCities() = request(object : TypeOf<ArrayList<CityInfo>>() {}, "catalogue.Cities")
to smth like
fun getCities() = request(TOf<CityInfo>, "catalogue.Cities")