Skip to content

Commit

Permalink
Make givenName and surname non optional
Browse files Browse the repository at this point in the history
  • Loading branch information
boscar committed Nov 25, 2020
1 parent 2916d66 commit 0f8f97c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/customers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export interface IDistance {
export interface IAddress {
city: string;
name?: string;
givenName?: string;
surname?: string;
givenName: string;
surname: string;
postalCode: string;
street: string;
street2: string;
Expand All @@ -29,8 +29,8 @@ export interface IAddress {
export interface ICustomer {
name?: string;
personalNumber: string;
givenName?: string;
surname?: string;
givenName: string;
surname: string;
email: string;
phoneNumber: string;
address: IAddress;
Expand Down

0 comments on commit 0f8f97c

Please sign in to comment.