fabulous-dev / Fabulous

Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
https://fabulous.dev
Apache License 2.0
1.16k stars 122 forks source link

Remove ambiguity when declaring event attributes #1047

Closed TimLariviere closed 1 year ago

TimLariviere commented 1 year ago

This PR changes the signature of Attributes.defineEvent and Attributes.defineEventNoArg to avoid ambiguity and passing the wrong values which would crash at runtime.