From 618a318f51a99d3af622f9fd526391f1e0099096 Mon Sep 17 00:00:00 2001 From: Lloyd Kupchanko Date: Sun, 25 Feb 2024 09:06:49 -0700 Subject: [PATCH] Update JSDoc comments --- src/getColor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getColor.js b/src/getColor.js index f0d40b78b..04af389ff 100644 --- a/src/getColor.js +++ b/src/getColor.js @@ -4,8 +4,8 @@ import parse from "./parse.js"; /** * Resolves a color reference (object or string) to a plain color object - * @param {Color | {space, coords, alpha} | string} color - * @returns {{space, coords, alpha}} + * @param {Color | {space, coords, alpha} | string | Array } color + * @returns {{space, coords, alpha} | Array<{space, coords, alpha}}> */ export default function getColor (color) { if (Array.isArray(color)) {