From f78fb05454666149d3cdc8b8a0ac4bad7f3b217e Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 31 Oct 2018 02:13:09 +0800 Subject: [PATCH] - Docs (JSDocs regression): Use nested array format recognized by both ESLint and JSDoc --- editor/path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/path.js b/editor/path.js index 9d5d47c7..8e6d102d 100644 --- a/editor/path.js +++ b/editor/path.js @@ -1660,8 +1660,8 @@ export const convertPath = function (path, toRel) { * TODO: refactor callers in `convertPath` to use `getPathDFromSegments` instead of this function. * Legacy code refactored from `svgcanvas.pathActions.convertPath`. * @param {string} letter - path segment command (letter in potentially either case from {@link module:path.pathMap}; see [SVGPathSeg#pathSegTypeAsLetter]{@link https://www.w3.org/TR/SVG/single-page.html#paths-__svg__SVGPathSeg__pathSegTypeAsLetter}) - * @param {GenericArray[]} points - x,y points - * @param {GenericArray[]} [morePoints] - x,y points + * @param {GenericArray>} points - x,y points + * @param {GenericArray>} [morePoints] - x,y points * @param {Integer[]} [lastPoint] - x,y point * @returns {string} */