fix (ts): include pupPage and pupBrowser properties on Client typedef

This commit is contained in:
Pedro S. Lopez 2021-01-30 20:36:46 -04:00
commit 6590c75c8a

6
index.d.ts vendored
View file

@ -10,6 +10,12 @@ declare namespace WAWebJS {
/** Current connection information */
public info: ClientInfo
/** Puppeteer page running WhatsApp Web */
pupPage?: puppeteer.Page
/** Puppeteer browser running WhatsApp Web */
pupBrowser?: puppeteer.Browser
/**Accepts an invitation to join a group */
acceptInvite(inviteCode: string): Promise<void>