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

@@ -27,7 +27,7 @@ import {clear} from '../obj.js';
*/
class Target extends Disposable {
/**
* @param {*=} opt_target Default event target for dispatched events.
* @param {*} [opt_target] Default event target for dispatched events.
*/
constructor(opt_target) {
super();
@@ -147,7 +147,7 @@ class Target extends Disposable {
}
/**
* @param {string=} opt_type Type. If not provided,
* @param {string} [opt_type] Type. If not provided,
* `true` will be returned if this event target has any listeners.
* @return {boolean} Has listeners.
*/