Skip to content

Commit b9541c8

Browse files
committed
chore: fix types
1 parent 4064cfd commit b9541c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/address.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export class Address {
291291
* @param useAbbr
292292
*/
293293
// TODO christopher 2022-01-13: useAbbr not in use
294-
state(useAbbr: boolean): string {
294+
state(useAbbr?: boolean): string {
295295
return this.faker.random.arrayElement(this.faker.definitions.address.state);
296296
}
297297

src/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ export class Helpers {
394394
),
395395
phone: this.faker.phone.phoneNumber(),
396396
address: {
397-
street: this.faker.address.streetName(true),
397+
street: this.faker.address.streetName(),
398398
suite: this.faker.address.secondaryAddress(),
399399
city: this.faker.address.city(),
400400
zipcode: this.faker.address.zipCode(),
@@ -423,7 +423,7 @@ export class Helpers {
423423
username: this.faker.internet.userName(),
424424
email: this.faker.internet.email(),
425425
address: {
426-
street: this.faker.address.streetName(true),
426+
street: this.faker.address.streetName(),
427427
suite: this.faker.address.secondaryAddress(),
428428
city: this.faker.address.city(),
429429
zipcode: this.faker.address.zipCode(),

0 commit comments

Comments
 (0)