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
+1 -1
View File
@@ -64,7 +64,7 @@ class Atlas {
/**
* @private
* @type {Object.<string, module:ol/style/Atlas~AtlasInfo>}
* @type {Object<string, module:ol/style/Atlas~AtlasInfo>}
*/
this.entries_ = {};
+1 -1
View File
@@ -11,7 +11,7 @@ class IconImageCache {
constructor() {
/**
* @type {!Object.<string, module:ol/style/IconImage>}
* @type {!Object<string, module:ol/style/IconImage>}
* @private
*/
this.cache_ = {};
+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];