From 2b113c527ed1f308b247e50899afd70d2afa3106 Mon Sep 17 00:00:00 2001 From: Brandon Dail Date: Wed, 25 Jan 2017 09:18:42 -0600 Subject: [PATCH] Use correct optional paramater JSDoc syntax --- src/renderers/shared/utils/forEachAccumulated.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/shared/utils/forEachAccumulated.js b/src/renderers/shared/utils/forEachAccumulated.js index 1c67186ea4..1327b046df 100644 --- a/src/renderers/shared/utils/forEachAccumulated.js +++ b/src/renderers/shared/utils/forEachAccumulated.js @@ -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( arr: ?(T | Array),