From 4df3de6e3ed88142fc6c2f76e61605be0da1ba5d Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 17 Apr 2023 10:20:18 +0200 Subject: chore(location): standardize abbreviated parameter (#2061) --- src/modules/random/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/random') 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, -- cgit v1.2.3