diff options
| author | sunadoi <[email protected]> | 2022-01-20 17:13:34 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-20 09:13:34 +0100 |
| commit | 66aa374fc3ca958070819d7eb6b119accc01cd3d (patch) | |
| tree | aa57cda80d8dd560718845a999454866e0f5b95a | |
| parent | ec4efba989c0a997ab55152697cbefbad160f562 (diff) | |
| download | faker-66aa374fc3ca958070819d7eb6b119accc01cd3d.tar.xz faker-66aa374fc3ca958070819d7eb6b119accc01cd3d.zip | |
fix(types): fixed exampleEmail arguments types (#241)
| -rw-r--r-- | src/internet.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internet.ts b/src/internet.ts index 7937e3d0..6384b155 100644 --- a/src/internet.ts +++ b/src/internet.ts @@ -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 ); |
