Michal Janos

    1 year ago
    Hi I have problem with multiplatform for JS NPM Kotlin Code:
    internal fun preparePartiesDataCalculation(
        partiesCalculationEntryData: List<PartyCalculationEntryData>,
        product: Product,
        ridersMap: Map<String, RiderParametersAndCore>
    ): List<PartyPreparedForCalculation> {
        return { party ->
            val professionsWithInternalParameters = {
                MaxProfessionRiskGroupParameters(parameters = getInternalProfessionParams(it.parameters))
    Generates problem in JS use Where partiesCalculationEntryData is as JS array
    Same code is working in use with JVM