How will Kotlin handle Union types from JavaScript/TypeScript?

Are you referring to this thread? Union types