Is there a way to declare `Map<String, exactly ...
# getting-started
m
Is there a way to declare
Map<String, exactly Any>
, not
out Any
, to use with Retrofit? Currently using
MutableMap
as a workaround.
i
miha-x64: Do you want to get rid of
? extends Object
in signature? Try
@JvmSuppressWildcards
https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#variant-generics
m
That’s it! Thank you.