diff options
| author | Shinigami <[email protected]> | 2023-04-21 23:39:04 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-21 21:39:04 +0000 |
| commit | 3529ef7a97513286ef9ecfdfb3a460bd9723f69f (patch) | |
| tree | 03891648489e2103738518c2c6dfe2dbf2a2a5f1 /src/modules | |
| parent | 14a033a9435ecff907511368ada5be59e7bb9594 (diff) | |
| download | faker-3529ef7a97513286ef9ecfdfb3a460bd9723f69f.tar.xz faker-3529ef7a97513286ef9ecfdfb3a460bd9723f69f.zip | |
refactor(location)!: rename definition street to street_pattern (#2051)
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/location/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts index 97423b83..c39711b7 100644 --- a/src/modules/location/index.ts +++ b/src/modules/location/index.ts @@ -203,7 +203,9 @@ export class LocationModule { * @since 8.0.0 */ street(): string { - return this.faker.helpers.fake(this.faker.definitions.location.street); + return this.faker.helpers.fake( + this.faker.definitions.location.street_pattern + ); } /** |
