Oh I got it: common: ``` import kotlin.reflect.KCl...
# multiplatform
j
Oh I got it: common:
Copy code
import kotlin.reflect.KClass

@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CONSTRUCTOR)
expect annotation class Throws(vararg val exceptionClasses: KClass<out Throwable>)
jvm:
Copy code
actual typealias Throws = kotlin.jvm.Throws
native:
Copy code
actual typealias Throws = kotlin.native.Throws
👍 1