Skip to content

Commit

Permalink
Merge pull request #743 from atheck/atheck/issue737
Browse files Browse the repository at this point in the history
Update types for contact fields that may be null
  • Loading branch information
morenoh149 authored Aug 27, 2024
2 parents be9d46d + 9d59823 commit 32bfe7e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface InstantMessageAddress {
export interface Birthday {
day: number;
month: number;
year: number;
year?: number;
}

export interface UrlAddress {
Expand All @@ -62,21 +62,21 @@ export interface Contact {
backTitle: string;
company: string|null;
emailAddresses: EmailAddress[];
displayName: string;
displayName: string|null;
familyName: string;
givenName: string;
givenName: string|null;
middleName: string;
jobTitle: string;
jobTitle: string|null;
phoneNumbers: PhoneNumber[];
hasThumbnail: boolean;
thumbnailPath: string;
isStarred: boolean;
postalAddresses: PostalAddress[];
prefix: string;
suffix: string;
department: string;
birthday: Birthday;
prefix: string|null;
suffix: string|null;
department: string|null;
birthday?: Birthday;
imAddresses: InstantMessageAddress[];
urlAddresses: UrlAddress[];
note: string;
note: string|null;
}

0 comments on commit 32bfe7e

Please sign in to comment.