aboutsummaryrefslogtreecommitdiff
path: root/src/modules/color
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/color')
-rw-r--r--src/modules/color/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/color/index.ts b/src/modules/color/index.ts
index 5100776a..4d69ebf5 100644
--- a/src/modules/color/index.ts
+++ b/src/modules/color/index.ts
@@ -211,8 +211,8 @@ export class ColorModule {
*
* @since 7.0.0
*/
- cssSupportedFunction(): string {
- return this.faker.helpers.objectValue(CssFunction);
+ cssSupportedFunction(): CssFunctionType {
+ return this.faker.helpers.enumValue(CssFunction);
}
/**
@@ -223,8 +223,8 @@ export class ColorModule {
*
* @since 7.0.0
*/
- cssSupportedSpace(): string {
- return this.faker.helpers.objectValue(CssSpace);
+ cssSupportedSpace(): CssSpaceType {
+ return this.faker.helpers.enumValue(CssSpace);
}
/**