Skip to content

Commit

Permalink
added jsDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
do0dleman committed May 21, 2023
1 parent f3350b4 commit 1a6187c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "do0dle-colors",
"version": "1.2.0",
"version": "1.2.1",
"description": "a library to generate color schemes.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
6 changes: 5 additions & 1 deletion src/utils/convert/hslToRgb.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import hsl from "../../types/hslType";
import rgb from "../../types/rgbType";


/**
* Converts hsl color to rgb color
* @param {hsl} hsl hsl color value represented by an array
* @returns {rgb} rgb color value represented by an array
*/
export default function hslToRgb(hsl: hsl): rgb {

let [H, S, L] = hsl
Expand Down

0 comments on commit 1a6187c

Please sign in to comment.