mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-17 13:00:35 +08:00
Cordova Contacts plugin fix
In find() method the onError callback should be optional. https://cordova.apache.org/docs/en/3.3.0/cordova_contacts_contacts.md.ht ml#contacts.find
This commit is contained in:
1 parent
ee872c6334
commit
a63e254786
1 file changed
+1
-1
Vendored
+1
-1
@@ -32,7 +32,7 @@ interface Contacts {
|
||||
*/
|
||||
find(fields: string[],
|
||||
onSuccess: (contacts: Contact[]) => void,
|
||||
onError: (error: ContactError) => void,
|
||||
onError?: (error: ContactError) => void,
|
||||
options?: ContactFindOptions): void;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user