Hello, World! I'm having Generics problems with S...
# multiplatform
b
Hello, World! I'm having Generics problems with Swift. I have my kotlin method that has an argument of type
(Result<Page<Transaction>>) -> Unit
and in Swift I get
Result<Page>
(I lost the second type). So because of this in Swift when I do
page.items
instead of an array of
Transaction
I get an array of
Any?
- annoying. I suspect this may be because of the fact that
Page
is an interface, could this be the problem?