fixed acceptInvite typings

This commit is contained in:
Artem Sinelnikov
2021-02-03 15:46:15 +07:00
committed by Pedro S. Lopez
parent 559133c3c4
commit fa4923db98

2
index.d.ts vendored
View File

@@ -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>