You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But once wrapped, there is no way to get the parameters. We don't want to support all super-powers of Kotlin enums right now. Using the given parameter if there is only one string, and returning the value in the facade could be enough.
The text was updated successfully, but these errors were encountered:
I actually provided all properties of the enum to the JS facade, as it's easier for now (waiting to see how Kotlin 1.6.20 handle enum exports).
'name' and 'ordinal' are Kotlin enum keywords and cannot be override, also KustomExport override "name" to put the entry name (as a string, so minification should be fine). 'ordinal' is not provided in the facade, I don't think using ordinal make a lot of sense, but please comment if you have a use case!
Currently we can define an enum like that
But once wrapped, there is no way to get the parameters. We don't want to support all super-powers of Kotlin enums right now. Using the given parameter if there is only one string, and returning the value in the facade could be enough.
The text was updated successfully, but these errors were encountered: