https://kotlinlang.org logo
#getting-started
Title
# getting-started
j

juh juh

08/15/2022, 2:22 PM
If I have a class in
commonMain
that I want to provide specific implementation on ONLY ONE multiplatform target, while using default common implementation for other, is there a way to do it without making class
expect
and spamming
actual
in every target?
j

Javier

08/15/2022, 2:24 PM
typealias in the rest of targets is the only way right now
but you can generate a target which has all targets except that specific one
so you only have two actual
s

svenjacobs

08/16/2022, 6:10 AM
Maybe ask in #multiplatform?
2 Views