<init>
This annotation marks the experimental Kotlin/JS reflection API that allows to create an instance of provided KClass The API can be removed completely in any further release.
Any usage of a declaration annotated with @ExperimentalJsReflectionCreateInstance
should be accepted either by
annotating that usage with the OptIn annotation, e.g. @OptIn(ExperimentalJsReflectionCreateInstance::class)
,
or by using the compiler argument -opt-in=kotlin.js.ExperimentalJsReflectionCreateInstance
.