Use Object<Foo, Bar> instead of Object.<Foo, Bar>
This commit is contained in:
@@ -466,10 +466,10 @@ export function createDefaultStyle(feature, resolution) {
|
||||
|
||||
/**
|
||||
* Default styles for editing features.
|
||||
* @return {Object.<module:ol/geom/GeometryType, Array<module:ol/style/Style>>} Styles
|
||||
* @return {Object<module:ol/geom/GeometryType, Array<module:ol/style/Style>>} Styles
|
||||
*/
|
||||
export function createEditingStyle() {
|
||||
/** @type {Object.<module:ol/geom/GeometryType, Array<module:ol/style/Style>>} */
|
||||
/** @type {Object<module:ol/geom/GeometryType, Array<module:ol/style/Style>>} */
|
||||
const styles = {};
|
||||
const white = [255, 255, 255, 1];
|
||||
const blue = [0, 153, 255, 1];
|
||||
|
||||
Reference in New Issue
Block a user