Skip to content

Commit

Permalink
Update faker.phone.number() document
Browse files Browse the repository at this point in the history
  • Loading branch information
sounmind authored Nov 26, 2024
1 parent b390432 commit 4e14454
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 4e14454

Please sign in to comment.