Skip to content

Commit bc4ab8c

Browse files
committed
fix: remove pick from addGroup
1 parent 01f5a58 commit bc4ab8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NativeContacts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface Spec extends TurboModule {
2626
getGroup: (identifier: string) => Promise<Group | null>;
2727
deleteGroup(identifier: string): Promise<boolean>;
2828
updateGroup(identifier: string, groupData: Object): Promise<Group>;
29-
addGroup(group: Pick<Group, "name">): Promise<Group>;
29+
addGroup(group: Object): Promise<Group>;
3030
contactsInGroup(identifier: string): Promise<Contact[]>;
3131
addContactsToGroup(
3232
groupIdentifier: string,

0 commit comments

Comments
 (0)