aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2022-01-14 17:39:47 +0100
committerDamien Retzinger <[email protected]>2022-01-14 18:37:49 -0500
commit82ab145286909d49a798c95bf46ea504ebdd7be7 (patch)
tree56cf2a81352f5bdd080a05db350dc8281009df26 /src/index.ts
parent0abec83219a3e070ef9517849df556cad609ec4d (diff)
downloadfaker-82ab145286909d49a798c95bf46ea504ebdd7be7.tar.xz
faker-82ab145286909d49a798c95bf46ea504ebdd7be7.zip
feat: migrate commerce (#106)
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 0fd77478..b5cdd3c4 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,4 +1,5 @@
import { Animal } from './animal';
+import { Commerce } from './commerce';
import { Database } from './database';
import { Datatype } from './datatype';
import { _Date } from './date';
@@ -176,7 +177,7 @@ export class Faker {
readonly address = new (require('./address'))(this);
readonly animal: Animal = new Animal(this);
- readonly commerce = new (require('./commerce'))(this);
+ readonly commerce: Commerce = new Commerce(this);
readonly company = new (require('./company'))(this);
readonly database: Database = new Database(this);
readonly date: _Date = new _Date(this);