aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorKeisukeYamashita <[email protected]>2024-04-06 19:58:17 +0200
committerGitHub <[email protected]>2024-04-06 19:58:17 +0200
commit501f4b3d3a8056b8b7877f1d78575ade26b361ce (patch)
tree524a2f52c97f03a8fbe78df1e8c74305eb6c7d94 /src/modules
parentf47dfe5c58371b468c704cab7a7cd29f9a3e3379 (diff)
downloadfaker-501f4b3d3a8056b8b7877f1d78575ade26b361ce.tar.xz
faker-501f4b3d3a8056b8b7877f1d78575ade26b361ce.zip
feat(locale): support street and street address for ja (#2193)
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/location/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts
index 2553e50d..217fe682 100644
--- a/src/modules/location/index.ts
+++ b/src/modules/location/index.ts
@@ -176,7 +176,7 @@ export class LocationModule extends ModuleBase {
*/
secondaryAddress(): string {
return this.faker.helpers
- .arrayElement(this.faker.definitions.location.secondary_address)
+ .fake(this.faker.definitions.location.secondary_address)
.replaceAll(/#+/g, (m) =>
this.faker.string.numeric({
length: m.length,