AndreiBogdan
07/07/2023, 10:09 AMenum class QuizSearchType {
WITH_QUIZ,
WITH_NO_QUIZ
}
@Suppress("NON_EXPORTABLE_TYPE")
@JsExport
object QuizSearchTypeJs {
val with_quiz = QuizSearchType.WITH_QUIZ
val with_no_quiz = QuizSearchType.WITH_NO_QUIZ
}
List<QuizSearchType>
, so I guess I'll need to use Array<QuizSearchTypeJs>
but ... is that right ?! It's an object class with 2 fields inside it ... they're data type is not QuizSearchTypeJs
... I'm a bit confused.