Skip to content

Commit 2e47978

Browse files
authored
Update JSDoc for onhide parameter to be optional
1 parent 5492554 commit 2e47978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dialogs/color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ let lastPicked = localStorage.__picker_last_picked || "#fff";
77
/**
88
* Choose color
99
* @param {string} defaultColor Default color
10-
* @param {Function} onhide Callback function
10+
* @param {Function} [onhide] Callback function
1111
* @returns {Promise<string>}
1212
*/
1313
function color(defaultColor, onhide) {

0 commit comments

Comments
 (0)