JetBrains / kotlin-wrappers

Kotlin wrappers for popular JavaScript libraries
Apache License 2.0
1.33k stars 165 forks source link

MUI. Get rid of `dynamic`s in function types [generated] #2284

Closed aerialist7 closed 1 week ago

janne-koschinski commented 5 days ago

Should this have replaced the dynamic in Dialog onClose as well? It's causing errors such as the following even for the showcase:

Property accessor 'onClose.<set-onClose>' can not be called: No property accessor found for symbol 'mui.material/DialogProps.onClose.<set-onClose>|<set-onClose>(kotlin.Function2<kotlin.Nothing?,kotlin.String,kotlin.Unit>?){}[0]'

https://karakum-team.github.io/kotlin-mui-showcase/#/material-ui%2Freact-dialog

turansky commented 5 days ago

@janne-koschinski Thank you for reporting.

Problem fixed here

@Leonya Could you please release these changes?