Skip to content

Commit

Permalink
fix(types): fixed exampleEmail arguments types (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunadoi committed Jan 20, 2022
1 parent ec4efba commit 66aa374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internet.ts
Expand Up @@ -220,7 +220,7 @@ export class Internet {
* @param firstName
* @param lastName
*/
exampleEmail(firstName, lastName) {
exampleEmail(firstName?: string, lastName?: string) {
const provider = this.faker.random.arrayElement(
this.faker.definitions.internet.example_email
);
Expand Down

0 comments on commit 66aa374

Please sign in to comment.