aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/usage.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/guide/usage.md b/docs/guide/usage.md
index 452e415c..0cdfb9c4 100644
--- a/docs/guide/usage.md
+++ b/docs/guide/usage.md
@@ -166,7 +166,7 @@ interface User { ... }
function createRandomUser(): User {
return {
- _id: faker.datatype.uuid(),
+ _id: faker.string.uuid(),
avatar: faker.image.avatar(),
birthday: faker.date.birthdate(),
email: faker.internet.email(),
@@ -198,7 +198,7 @@ function createRandomUser(): User {
const email = faker.internet.email({ firstName, lastName });
return {
- _id: faker.datatype.uuid(),
+ _id: faker.string.uuid(),
avatar: faker.image.avatar(),
birthday: faker.date.birthdate(),
email,
@@ -238,7 +238,7 @@ function createRandomUser(): User {
]);
return {
- _id: faker.datatype.uuid(),
+ _id: faker.string.uuid(),
avatar: faker.image.avatar(),
birthday: faker.date.birthdate(),
email,