Is there a way in kotlin to create a generic property without declaring a class level generic type? Something that looks like this:
interfac
No, how should the compiler know what T is? If you don't need the generic type parameter T anyway, you can just declare it as val t: Any.
T
val t: Any