aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-11-07 23:43:58 +0100
committerGitHub <[email protected]>2023-11-07 22:43:58 +0000
commitfa26a44789e6cd808cfcf0007d7c4e10b333cef7 (patch)
treea9b9bad5523c45f3a79e43f8e899ab3aad25121e /src
parent6f977f6b0122dc1761152d4eb7922fed63dc87c0 (diff)
downloadfaker-fa26a44789e6cd808cfcf0007d7c4e10b333cef7.tar.xz
faker-fa26a44789e6cd808cfcf0007d7c4e10b333cef7.zip
infra(typescript-eslint): switch-exhaustiveness-check (#2519)
Diffstat (limited to 'src')
-rw-r--r--src/modules/color/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/color/index.ts b/src/modules/color/index.ts
index ee626e09..5962ef71 100644
--- a/src/modules/color/index.ts
+++ b/src/modules/color/index.ts
@@ -64,6 +64,8 @@ function formatHexColor(
case 'lower':
hexColor = hexColor.toLowerCase();
break;
+ case 'mixed':
+ // Do nothing
}
if (options?.prefix) {
@@ -156,6 +158,7 @@ function toColorFormat(
return toCSS(values, cssFunction, space);
case 'binary':
return toBinary(values);
+ case 'decimal':
default:
return values;
}