I've got a KType, how do I convert that into a Typ...
# ktor
b
I've got a KType, how do I convert that into a TypeInfo? Like this?
Copy code
TypeInfo(
            type = targetType.classifier as KClass<*>,
            kotlinType = targetType,
        )
👍 1
c
That's what I've done, but I don't know if it's the proper way