We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b5c9c commit 76cad0fCopy full SHA for 76cad0f
lib_src/misc/colors.ts
@@ -40,6 +40,6 @@ function rgb2hex(rgb) {
40
}
41
42
43
-function hex(x) {
+function hex(x: string) {
44
return ("0" + parseInt(x, 10).toString(16)).slice(-2)
45
0 commit comments