1.3.40 shipped a `typeOf` intrinsic to create a `K...
# announcements
j
1.3.40 shipped a
typeOf
intrinsic to create a
KType
but you cannot get a
Type
from that without kotlin-reflect... yet https://youtrack.jetbrains.com/issue/KT-32241
👍 2
n
Ah just saw a comment from you about it on a Moshi issue. I get a weird error when using it though:
Java type is not yet supported for types created with createType (classifier = class kotlin.collections.List)
Used it like this:
typeOf<List<Int>>().javaType
(simple example)