capacitor-community / contacts

Contacts Plugin for Capacitor
https://capacitor-community.github.io/contacts/
125 stars 54 forks source link

Type definitions for pickContact is wrong #109

Closed selcuk-sahin closed 1 year ago

selcuk-sahin commented 1 year ago

I think pickContact type should have a similar type to GetContactResult. The function indeed not returning void. but on definitions.d.ts file, type seems to be void.

    pickContact(options: PickContactOptions): Promise<void>;
tafelnl commented 1 year ago

That's incorrect indeed. Thanks for reporting. I'll fix it soon!