Skip to content

Commit 50024de

Browse files
fix: bad typing
1 parent 4fa33c5 commit 50024de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export function getAll(callback: (error: any, contacts: Contact[]) => void): void;
22
export function getAllWithoutPhotos(callback: (error: any, contacts: Contact[]) => void): void;
33
export function getContactById(contactId: string, callback: (error: any, contact: Contact) => void): void;
4-
export function getCount(callback: (error: any, count: number) => void): void;
4+
export function getCount(callback: (count: number) => void): void;
55
export function getPhotoForId(contactId: string, callback: (error: any, photoUri: string) => void): void;
66
export function addContact(contact: Contact, callback: (error?: any) => void): void;
77
export function openContactForm(contact: Contact, callback: (error: any, contact: Contact) => void): void;

0 commit comments

Comments
 (0)