Skip to content

Commit

Permalink
docs: improve usage guide for selective readers (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Oct 2, 2022
1 parent a17872b commit c51bb30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/guide/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Let's create our first user factory function:
```ts
import { faker } from '@faker-js/faker';

class User { ... }

function createRandomUser(): User {
return {
_id: faker.datatype.uuid(),
Expand Down

0 comments on commit c51bb30

Please sign in to comment.