aboutsummaryrefslogtreecommitdiff
path: root/src/faker.ts
diff options
context:
space:
mode:
authorHarsohail Brar <[email protected]>2022-05-22 13:14:09 -0600
committerGitHub <[email protected]>2022-05-22 21:14:09 +0200
commitbee6054f8da67e26dcfdf572103eebabbd6443c0 (patch)
tree2390cf171db82a39acea58b793f630a5034feb35 /src/faker.ts
parentbd4d3dbc5ca54983ad28745825e4767c1f291e60 (diff)
downloadfaker-bee6054f8da67e26dcfdf572103eebabbd6443c0.tar.xz
faker-bee6054f8da67e26dcfdf572103eebabbd6443c0.zip
feat: color module (#801)
Co-authored-by: Shinigami <[email protected]>
Diffstat (limited to 'src/faker.ts')
-rw-r--r--src/faker.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/faker.ts b/src/faker.ts
index 3a7962c8..a252a3e0 100644
--- a/src/faker.ts
+++ b/src/faker.ts
@@ -3,6 +3,7 @@ import { FakerError } from './errors/faker-error';
import type { KnownLocale } from './locales';
import { Address } from './modules/address';
import { Animal } from './modules/animal';
+import { Color } from './modules/color';
import { Commerce } from './modules/commerce';
import { Company } from './modules/company';
import { Database } from './modules/database';
@@ -60,6 +61,7 @@ export class Faker {
readonly address: Address = new Address(this);
readonly animal: Animal = new Animal(this);
+ readonly color: Color = new Color(this);
readonly commerce: Commerce = new Commerce(this);
readonly company: Company = new Company(this);
readonly database: Database = new Database(this);