From ee3c3b020c51c357b0ea00a79f2edf82a418b57a Mon Sep 17 00:00:00 2001 From: Shinigami Date: Fri, 17 Mar 2023 00:09:52 +0100 Subject: chore: use enumValue (#1937) --- src/modules/color/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/color') 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); } /** -- cgit v1.2.3