diff options
| author | Shinigami <[email protected]> | 2023-04-17 10:20:18 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-17 08:20:18 +0000 |
| commit | 4df3de6e3ed88142fc6c2f76e61605be0da1ba5d (patch) | |
| tree | 2c0ed1aaa1f8f7a043adcc1891b8f5b20378cc42 /src/modules/random | |
| parent | 62b1aed46b108b08b25fcedf8d2606870cffb233 (diff) | |
| download | faker-4df3de6e3ed88142fc6c2f76e61605be0da1ba5d.tar.xz faker-4df3de6e3ed88142fc6c2f76e61605be0da1ba5d.zip | |
chore(location): standardize abbreviated parameter (#2061)
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, |
