diff options
Diffstat (limited to 'src/modules/random')
| -rw-r--r-- | src/modules/random/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/random/index.ts b/src/modules/random/index.ts index 2a44b0e2..03f126f8 100644 --- a/src/modules/random/index.ts +++ b/src/modules/random/index.ts @@ -52,12 +52,12 @@ export class RandomModule { }); const wordMethods = [ - this.faker.location.cardinalDirection, + () => this.faker.location.cardinalDirection(), this.faker.location.cityName, this.faker.location.country, this.faker.location.county, - this.faker.location.direction, - this.faker.location.ordinalDirection, + () => this.faker.location.direction(), + () => this.faker.location.ordinalDirection(), this.faker.location.state, this.faker.location.street, |
