Skip to content

Commit 66aa374

Browse files
authored
fix(types): fixed exampleEmail arguments types (#241)
1 parent ec4efba commit 66aa374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class Internet {
220220
* @param firstName
221221
* @param lastName
222222
*/
223-
exampleEmail(firstName, lastName) {
223+
exampleEmail(firstName?: string, lastName?: string) {
224224
const provider = this.faker.random.arrayElement(
225225
this.faker.definitions.internet.example_email
226226
);

0 commit comments

Comments
 (0)