I have the following scenario:
class Test<T>(val thing: T)
typealias StringTest = Test<String>
fun main(args: Array<String>) {
val stringTest = StringTest("Hello")
println(stringTest::class.starProjectedType)
}
This outputs Test<*>
. Is there a way I can instead get a KType
for StringTest
?
Thanks