Use Object<Foo, Bar> instead of Object.<Foo, Bar>

This commit is contained in:
Tim Schaub
2018-07-25 18:33:49 -07:00
parent d12ef20b12
commit affbf59b77
92 changed files with 334 additions and 334 deletions
+2 -2
View File
@@ -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];