Skip to content

Commit 1df239b

Browse files
committed
rgb2hex type definition
1 parent 4359f92 commit 1df239b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_src/misc/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function getColors(selectors) {
3131
return color
3232
}
3333

34-
function rgb2hex(rgb) {
34+
function rgb2hex(rgb: string): string {
3535
if (rgb.search("rgb") === -1) {
3636
return rgb
3737
} else {

0 commit comments

Comments
 (0)