Skip to content

Commit

Permalink
Update Address.d.ts
Browse files Browse the repository at this point in the history
A zip code is not required by some countries, for example, Antarctica.
  • Loading branch information
bensontrent authored Mar 16, 2024
1 parent 91f3e5a commit 0efdad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/Address/Address.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export declare interface IAddress extends IObjectWithId<'Address'> {
/**
* ZIP or postal code the address is located in
*/
zip: string;
zip?: string;

/**
* ISO 3166 country code for the country the address is located in
Expand Down Expand Up @@ -99,7 +99,7 @@ export declare class Address implements IAddress {
street2?: string | null;
city?: string | null;
state?: string | null;
zip: string;
zip?: string;
country: string;
residential?: boolean | null;
carrier_facility?: string | null;
Expand Down

0 comments on commit 0efdad1

Please sign in to comment.