upcast

fun <T> KSerializer<out T>.upcast(): KSerializer<T>