Replace google closure syntax = with brackets around name

This commit is contained in:
Simon Seyock
2021-02-03 14:06:02 +01:00
parent c15faa19fc
commit 8facb252f1
185 changed files with 569 additions and 569 deletions

View File

@@ -53,7 +53,7 @@ const Property = {
*/
class LayerGroup extends BaseLayer {
/**
* @param {Options=} opt_options Layer options.
* @param {Options} [opt_options] Layer options.
*/
constructor(opt_options) {
const options = opt_options || {};
@@ -193,7 +193,7 @@ class LayerGroup extends BaseLayer {
}
/**
* @param {Array<import("./Layer.js").default>=} opt_array Array of layers (to be modified in place).
* @param {Array<import("./Layer.js").default>} [opt_array] Array of layers (to be modified in place).
* @return {Array<import("./Layer.js").default>} Array of layers.
*/
getLayersArray(opt_array) {
@@ -205,7 +205,7 @@ class LayerGroup extends BaseLayer {
}
/**
* @param {Array<import("./Layer.js").State>=} opt_states Optional list of layer states (to be modified in place).
* @param {Array<import("./Layer.js").State>} [opt_states] Optional list of layer states (to be modified in place).
* @return {Array<import("./Layer.js").State>} List of layer states.
*/
getLayerStatesArray(opt_states) {