Skip to content

Commit

Permalink
Update JSDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydk committed Feb 25, 2024
1 parent 2556813 commit 618a318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/getColor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 | {space, coords, alpha} | string> } color
* @returns {{space, coords, alpha} | Array<{space, coords, alpha}}>
*/
export default function getColor (color) {
if (Array.isArray(color)) {
Expand Down

0 comments on commit 618a318

Please sign in to comment.