mapConfigurations return value
Correct would be to return
MapConfighere but that wouldn't immediately work because of the overlap of configuring a plugin duringaddPluginsor duringcreateMapvia this config.An idea would be to have all the completely required parameters, meaning a plugin would not work if not present, to be present during initialization in
addPluginsand make all configurations inMapConfigaPartial, so that parameters be be overwritten.If you want, you can add that change here. Otherwise, feel free to create an issue and I will tackle that.
Originally posted by @dopenguin in https://github.com/Dataport/polar/pull/23#discussion_r1397463020
This issue is about typing issues that occur due to the mapConfiguration optionally being defined in multiple places and being merged in a later step. We can't make it all Partial, since recursive Partial typings do not work with the vuetify types without further ado.