fixed acceptInvite typings
This commit is contained in:
parent
559133c3c4
commit
fa4923db98
1 changed files with 1 additions and 1 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -17,7 +17,7 @@ declare namespace WAWebJS {
|
|||
pupBrowser?: puppeteer.Browser
|
||||
|
||||
/**Accepts an invitation to join a group */
|
||||
acceptInvite(inviteCode: string): Promise<void>
|
||||
acceptInvite(inviteCode: string): Promise<string>
|
||||
|
||||
/**Returns an object with information about the invite code's group */
|
||||
getInviteInfo(inviteCode: string): Promise<object>
|
||||
|
|
|
|||
Loading…
Reference in a new issue