tvtan
08/06/2021, 11:01 AMvalue class Decimal(val d: Double)
If I declare it as non null: val quantity: Decimal it will be compiled and used as Double from Swift
If I declare it as nullable: val quantity: Decimal? it will be compiled to Optional<Any> and I can not cast to Double or DecimalKt from Swift
Anyone got this and how to use nullable value class from Swift?