Use Array<Foo> instead of Array.<Foo>

This commit is contained in:
Tim Schaub
2018-07-25 18:32:43 -07:00
parent 5a6502572f
commit d12ef20b12
184 changed files with 1194 additions and 1194 deletions

View File

@@ -131,7 +131,7 @@ class Attribution extends Control {
/**
* A list of currently rendered resolutions.
* @type {Array.<string>}
* @type {Array<string>}
* @private
*/
this.renderedAttributions_ = [];
@@ -147,7 +147,7 @@ class Attribution extends Control {
/**
* Get a list of visible attributions.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @return {Array.<string>} Attributions.
* @return {Array<string>} Attributions.
* @private
*/
getSourceAttributions_(frameState) {
@@ -159,7 +159,7 @@ class Attribution extends Control {
/**
* A list of visible attributions.
* @type {Array.<string>}
* @type {Array<string>}
*/
const visibleAttributions = [];

View File

@@ -74,7 +74,7 @@ class Control extends BaseObject {
/**
* @protected
* @type {!Array.<module:ol/events~EventsKey>}
* @type {!Array<module:ol/events~EventsKey>}
*/
this.listenerKeys = [];

View File

@@ -44,7 +44,7 @@ const MIN_RATIO = 0.1;
* @property {boolean} [collapsible=true] Whether the control can be collapsed or not.
* @property {string|HTMLElement} [label='»'] Text label to use for the collapsed
* overviewmap button. Instead of text, also an element (e.g. a `span` element) can be used.
* @property {Array.<module:ol/layer/Layer>|module:ol/Collection.<module:ol/layer/Layer>} [layers]
* @property {Array<module:ol/layer/Layer>|module:ol/Collection.<module:ol/layer/Layer>} [layers]
* Layers for the overview map. If not set, then all main map layers are used
* instead.
* @property {function(module:ol/MapEvent)} [render] Function called when the control

View File

@@ -31,7 +31,7 @@ export const Units = {
/**
* @const
* @type {Array.<number>}
* @type {Array<number>}
*/
const LEADING_DIGITS = [1, 2, 5];