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
Currently there are some minor issue with the types of the geostyler-style. We should check if we can improve these types without breaking changes.
GeoStylerFunction is a union type of all functions. This leads to issues with the (currently two) functions that don't have args. In particular TypesScript says that a GeoStylerFunction has no property args unless you exclude the functions without args. We should avoid adding an empty array as args but find a TypeScript way for this.
PropertyType includes unknown. This translates to PropertyType = unknown which is obviously not perfect.
The text was updated successfully, but these errors were encountered:
Currently there are some minor issue with the types of the
geostyler-style
. We should check if we can improve these types without breaking changes.GeoStylerFunction
is a union type of all functions. This leads to issues with the (currently two) functions that don't haveargs
. In particular TypesScript says that aGeoStylerFunction
has no propertyargs
unless you exclude the functions withoutargs
. We should avoid adding an empty array as args but find a TypeScript way for this.PropertyType
includesunknown
. This translates toPropertyType
=unknown
which is obviously not perfect.The text was updated successfully, but these errors were encountered: