aboutsummaryrefslogtreecommitdiff
path: root/src/modules/helpers
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2023-07-05 01:38:23 +0200
committerGitHub <[email protected]>2023-07-04 23:38:23 +0000
commiteacab787dcef5ba4b64824308d72977e331969a1 (patch)
treea2e1fddb9e54bd6e4a7abc1c1d11587d7db18a0c /src/modules/helpers
parent5e900d2df2e17be58991f3d0f2290ed4cd8a33ff (diff)
downloadfaker-eacab787dcef5ba4b64824308d72977e331969a1.tar.xz
faker-eacab787dcef5ba4b64824308d72977e331969a1.zip
refactor(phone): deprecate `format` argument for `phone.number` (#2229)
Diffstat (limited to 'src/modules/helpers')
-rw-r--r--src/modules/helpers/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/helpers/index.ts b/src/modules/helpers/index.ts
index 228e410d..f124cec1 100644
--- a/src/modules/helpers/index.ts
+++ b/src/modules/helpers/index.ts
@@ -1154,7 +1154,7 @@ export class HelpersModule {
* faker.helpers.fake('{{person.lastName}}, {{person.firstName}} {{person.suffix}}') // 'Durgan, Noe MD'
* faker.helpers.fake('This is static test.') // 'This is static test.'
* faker.helpers.fake('Good Morning {{person.firstName}}!') // 'Good Morning Estelle!'
- * faker.helpers.fake('You can call me at {{phone.number(!## ### #####!)}}.') // 'You can call me at 202 555 973722.'
+ * faker.helpers.fake('You can visit me at {{location.streetAddress(true)}}.') // 'You can visit me at 3393 Ronny Way Apt. 742.'
* faker.helpers.fake('I flipped the coin and got: {{helpers.arrayElement(["heads", "tails"])}}') // 'I flipped the coin and got: tails'
* faker.helpers.fake(['A: {{person.firstName}}', 'B: {{person.lastName}}']) // 'A: Barry'
*