Skip to content

Commit

Permalink
docs(phone): update faker.phone.number() example
Browse files Browse the repository at this point in the history
  • Loading branch information
sounmind committed Nov 26, 2024
1 parent b390432 commit 8de5ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/phone/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class PhoneModule extends ModuleBase {
* @see faker.helpers.fromRegExp(): For generating a phone number matching a regular expression.
*
* @example
* faker.phone.number() // '961-770-7727'
* faker.phone.number() // '961-770-7727' (default 'human' style)
* faker.phone.number({ style: 'human' }) // '555.770.7727 x1234'
* faker.phone.number({ style: 'national' }) // '(961) 770-7727'
* faker.phone.number({ style: 'international' }) // '+15551234567'
Expand Down

0 comments on commit 8de5ce0

Please sign in to comment.