you can either create `external` classes and inter...
# kvision
you can either create
classes and interfaces, which will be mapped to JS objects (but are somehow limited, because you can't easily create such objects from kotlin) or you can use normal Kotlin types (e.g. data classes) on the Kotlin side, and manually convert them to JS objects when calling leaflet functions and methods I prefer the second way in KVision