aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2023-03-14 20:30:33 +0100
committerGitHub <[email protected]>2023-03-14 19:30:33 +0000
commita9433537c4658b507969b0cd1409d6652569ce6d (patch)
tree4d6cf22e5fe5927470977e8319f3236a7a967da3 /docs
parentc2b21d836d4dab83ce6cbbcdee1b00c683ad3e40 (diff)
downloadfaker-a9433537c4658b507969b0cd1409d6652569ce6d.tar.xz
faker-a9433537c4658b507969b0cd1409d6652569ce6d.zip
refactor(internet): standardize signatures (#1845)
Co-authored-by: ST-DDT <[email protected]> Co-authored-by: Shinigami <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/usage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide/usage.md b/docs/guide/usage.md
index 7448a699..48a84fb1 100644
--- a/docs/guide/usage.md
+++ b/docs/guide/usage.md
@@ -148,7 +148,7 @@ function createRandomUser(): User {
const sex = faker.person.sexType();
const firstName = faker.person.firstName(sex);
const lastName = faker.person.lastName();
- const email = faker.internet.email(firstName, lastName);
+ const email = faker.internet.email({ firstName, lastName });
return {
_id: faker.datatype.uuid(),