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

@@ -24,7 +24,7 @@ import {isEmpty} from '../obj.js';
*/
class RBush {
/**
* @param {number=} opt_maxEntries Max entries.
* @param {number} [opt_maxEntries] Max entries.
*/
constructor(opt_maxEntries) {
/**
@@ -198,7 +198,7 @@ class RBush {
}
/**
* @param {import("../extent.js").Extent=} opt_extent Extent.
* @param {import("../extent.js").Extent} [opt_extent] Extent.
* @return {import("../extent.js").Extent} Extent.
*/
getExtent(opt_extent) {