I have a kotlin fun defined in a KMP project with an Int paramter -
Copy code
fun getUser(userId: Int) {}
However, when I try to use this function in swift, I'm getting a type error -
Copy code
Cannot convert value of type 'Int?' to expected argument type 'KotlinInt?'
Presumably I'm missing a step or config here? I'd assume that KMP magic handles the Int implementation in each platform without me having to write any additional mapping?