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

@@ -76,7 +76,7 @@ const Property = {
*/
class BaseVectorLayer extends Layer {
/**
* @param {Options=} opt_options Options.
* @param {Options} [opt_options] Options.
*/
constructor(opt_options) {
const options = opt_options ? opt_options : {};
@@ -241,7 +241,7 @@ class BaseVectorLayer extends Layer {
* so only features that have their own styles will be rendered in the layer. Call
* `setStyle()` without arguments to reset to the default style. See
* {@link module:ol/style} for information on the default style.
* @param {(import("../style/Style.js").StyleLike|null)=} opt_style Layer style.
* @param {import("../style/Style.js").StyleLike|null} [opt_style] Layer style.
* @api
*/
setStyle(opt_style) {