Skip to content

Commit c5f88d7

Browse files
committed
docs: fix string array notation
1 parent e13c8ca commit c5f88d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ The returned objects will take the following format:
5656
* `lastName` String - The contact's last name, or an empty string ('') if one is not set.
5757
* `nickname` String - The contact's nickname, or an empty string ('') if one is not set.
5858
* `birthday` String - The contact's birthday in YYYY-MM-DD format, or an empty string ('') if one is not set.
59-
* `phoneNumbers` Array<String> - An array of phone numbers as strings in [E.164 format](https://en.wikipedia.org/wiki/E.164).
60-
* `emailAddresses` Array<String> - An array of email addresses as strings.
61-
* `postalAddresses` Array<String> - An array of postal as strings.
59+
* `phoneNumbers` String[] - An array of phone numbers as strings in [E.164 format](https://en.wikipedia.org/wiki/E.164).
60+
* `emailAddresses` String[] - An array of email addresses as strings.
61+
* `postalAddresses` String[] - An array of postal as strings.
6262
* `contactImage` Buffer (optional) - a Buffer representation of the contact's image, if one has been set.
6363

6464
This method will return an empty array (`[]`) if access to Contacts has not been granted.
@@ -99,9 +99,9 @@ The returned object will take the following format:
9999
* `lastName` String - The contact's last name, or an empty string ('') if one is not set.
100100
* `nickname` String - The contact's nickname, or an empty string ('') if one is not set.
101101
* `birthday` String - The contact's birthday in YYYY-MM-DD format, or an empty string ('') if one is not set.
102-
* `phoneNumbers` Array<String> - An array of phone numbers as strings in [E.164 format](https://en.wikipedia.org/wiki/E.164).
103-
* `emailAddresses` Array<String> - An array of email addresses as strings.
104-
* `postalAddresses` Array<String> - An array of postal as strings.
102+
* `phoneNumbers` String[] - An array of phone numbers as strings in [E.164 format](https://en.wikipedia.org/wiki/E.164).
103+
* `emailAddresses` String[] - An array of email addresses as strings.
104+
* `postalAddresses` String[] - An array of postal as strings.
105105
* `contactImage` Buffer (optional) - a Buffer representation of the contact's image, if one has been set.
106106

107107
This method will return an empty array (`[]`) if access to Contacts has not been granted.

0 commit comments

Comments
 (0)