Replace google closure syntax = with brackets around name
This commit is contained in:
@@ -23,7 +23,7 @@ import {assert} from '../asserts.js';
|
||||
*/
|
||||
class LRUCache {
|
||||
/**
|
||||
* @param {number=} opt_highWaterMark High water mark.
|
||||
* @param {number} [opt_highWaterMark] High water mark.
|
||||
*/
|
||||
constructor(opt_highWaterMark) {
|
||||
/**
|
||||
@@ -100,7 +100,7 @@ class LRUCache {
|
||||
|
||||
/**
|
||||
* @param {string} key Key.
|
||||
* @param {*=} opt_options Options (reserverd for subclasses).
|
||||
* @param {*} [opt_options] Options (reserverd for subclasses).
|
||||
* @return {T} Value.
|
||||
*/
|
||||
get(key, opt_options) {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
class LinkedList {
|
||||
/**
|
||||
* @param {boolean=} opt_circular The last item is connected to the first one,
|
||||
* @param {boolean} [opt_circular] The last item is connected to the first one,
|
||||
* and the first item to the last one. Default is true.
|
||||
*/
|
||||
constructor(opt_circular) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user