Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Jan 14, 2022
1 parent 0b5f199 commit d47a2df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class Address {
* @param useAbbr
*/
// TODO christopher 2022-01-13: useAbbr not in use
state(useAbbr: boolean): string {
state(useAbbr?: boolean): string {
return this.faker.random.arrayElement(this.faker.definitions.address.state);
}

Expand Down
4 changes: 2 additions & 2 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ export class Helpers {
),
phone: this.faker.phone.phoneNumber(),
address: {
street: this.faker.address.streetName(true),
street: this.faker.address.streetName(),
suite: this.faker.address.secondaryAddress(),
city: this.faker.address.city(),
zipcode: this.faker.address.zipCode(),
Expand Down Expand Up @@ -423,7 +423,7 @@ export class Helpers {
username: this.faker.internet.userName(),
email: this.faker.internet.email(),
address: {
street: this.faker.address.streetName(true),
street: this.faker.address.streetName(),
suite: this.faker.address.secondaryAddress(),
city: this.faker.address.city(),
zipcode: this.faker.address.zipCode(),
Expand Down

0 comments on commit d47a2df

Please sign in to comment.