diff options
| author | Shinigami <[email protected]> | 2023-03-17 00:09:52 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-16 23:09:52 +0000 |
| commit | ee3c3b020c51c357b0ea00a79f2edf82a418b57a (patch) | |
| tree | fe4f76aafb828bff8ef8fec4f8ba4253ccc86f12 /src/modules/color | |
| parent | 8cc47e6774cdb9caa36a92ffef4d70b83a44f37d (diff) | |
| download | faker-ee3c3b020c51c357b0ea00a79f2edf82a418b57a.tar.xz faker-ee3c3b020c51c357b0ea00a79f2edf82a418b57a.zip | |
chore: use enumValue (#1937)
Diffstat (limited to 'src/modules/color')
| -rw-r--r-- | src/modules/color/index.ts | 8 |
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); } /** |
