Use correct optional paramater JSDoc syntax

This commit is contained in:
Brandon Dail authored and Brandon Dail committed 2017-01-25 09:24:00 -06:00
1 parent facd67d000
commit 2b113c527e
1 file changed
+1 -1
@@ -19,7 +19,7 @@
* handling the case when there is exactly one item (and we do not need to
* allocate an array).
* @param {function} cb Callback invoked with each element or a collection.
* @param {?*} scope Scope used as `this` in a callback.
* @param {?} [scope] Scope used as `this` in a callback.
*/
function forEachAccumulated<T>(
arr: ?(T | Array<T>),