Update types for contact fields that may be null
It seems that givenName and familyName could be null for fetched contacts on Android devices. This possibility is not reflected in the current TS types.
This scenario can be reproduced by creating a contact with no name and only an "important date" (eg birthday) on Android.
If this doesn’t seem like a bug in the implementation, I can make a PR to update the typings for these fields.
@thisjeremiah please submit a pr updating the typings
Hi, thank you for your work! I want to mention that birthday can also be undefined. And on Android there is an option to not enter the year of the birthday. Maybe this should then be a number | null.
@atheck sounds right. Feel free to submit a PR.
I know this is a closed ticket, but shouldn't the type.ts also be updated with this change?