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
+6 -6
View File
@@ -595,10 +595,10 @@ class Executor {
* @param {import("../../transform.js").Transform} transform Transform.
* @param {Array<*>} instructions Instructions array.
* @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
* @param {FeatureCallback<T>=} opt_featureCallback Feature callback.
* @param {import("../../extent.js").Extent=} opt_hitExtent Only check
* @param {FeatureCallback<T>} [opt_featureCallback] Feature callback.
* @param {import("../../extent.js").Extent} [opt_hitExtent] Only check
* features that intersect this extent.
* @param {import("rbush").default=} opt_declutterTree Declutter tree.
* @param {import("rbush").default} [opt_declutterTree] Declutter tree.
* @return {T|undefined} Callback result.
* @template T
*/
@@ -1141,7 +1141,7 @@ class Executor {
* @param {import("../../transform.js").Transform} transform Transform.
* @param {number} viewRotation View rotation.
* @param {boolean} snapToPixel Snap point symbols and text to integer pixels.
* @param {import("rbush").default=} opt_declutterTree Declutter tree.
* @param {import("rbush").default} [opt_declutterTree] Declutter tree.
*/
execute(
context,
@@ -1168,8 +1168,8 @@ class Executor {
* @param {CanvasRenderingContext2D} context Context.
* @param {import("../../transform.js").Transform} transform Transform.
* @param {number} viewRotation View rotation.
* @param {FeatureCallback<T>=} opt_featureCallback Feature callback.
* @param {import("../../extent.js").Extent=} opt_hitExtent Only check
* @param {FeatureCallback<T>} [opt_featureCallback] Feature callback.
* @param {import("../../extent.js").Extent} [opt_hitExtent] Only check
* features that intersect this extent.
* @return {T|undefined} Callback result.
* @template T