From 3529ef7a97513286ef9ecfdfb3a460bd9723f69f Mon Sep 17 00:00:00 2001 From: Shinigami Date: Fri, 21 Apr 2023 23:39:04 +0200 Subject: refactor(location)!: rename definition street to street_pattern (#2051) --- src/modules/location/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') 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 + ); } /** -- cgit v1.2.3