Skip to content

Commit

Permalink
fix: ChangeParticipantsPermissions typo in index.d.ts (#1206)
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
  • Loading branch information
su-chang and pedroslopez committed Feb 28, 2022
1 parent 52c8336 commit ab5167c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ declare namespace WAWebJS {
}

/** Promotes or demotes participants by IDs to regular users or admins */
export type ChangeParticipantsPermisions =
export type ChangeParticipantsPermissions =
(participantIds: Array<string>) => Promise<{ status: number }>

/** Adds or removes a list of participants by ID to the group */
Expand Down Expand Up @@ -1078,9 +1078,9 @@ declare namespace WAWebJS {
/** Removes a list of participants by ID to the group */
removeParticipants: ChangeGroupParticipants;
/** Promotes participants by IDs to admins */
promoteParticipants: ChangeParticipantsPermisions;
promoteParticipants: ChangeParticipantsPermissions;
/** Demotes participants by IDs to regular users */
demoteParticipants: ChangeParticipantsPermisions;
demoteParticipants: ChangeParticipantsPermissions;
/** Updates the group subject */
setSubject: (subject: string) => Promise<boolean>;
/** Updates the group description */
Expand Down

0 comments on commit ab5167c

Please sign in to comment.