How will Kotlin handle Union types from JavaScript/TypeScript?

  1. I think it’s good enough since it’s only about native/external declarations.

  2. it’s the reason why I said: “when it possible”.

    1. it’s the reason why we think about alternative solutions
  3. could you please clarify what do You mean?

it looks to me like native support for Union types is the cleanest way to address these issues.

It’s another possible solution and I agree that it probably is the better solution, but it requires more time to design and implement it. And we need more good use cases to do it.