Edoardo Luppi10/13/2023, 1:17 PM
that maps to a
// commonMain public expect class MyByteArray(size: Int) // jsMain public actual typealias MyByteArray = Uint8Array
class comes from kotlin-wrappers. Now, every time I use
-ed definition in
, I also have to annotate it with
Otherwise the IDE complains about it, as per screenshot. I suppose it's an IDE-only issue as I don't see any warning at compile time. Anyone else noticed this?
hfhbd10/13/2023, 1:20 PM
Edoardo Luppi10/13/2023, 1:22 PM
is you risk having TS types generated as
without knowing it.