fix (ts): include pupPage and pupBrowser properties on Client typedef
This commit is contained in:
parent
1bdc7335d8
commit
6590c75c8a
1 changed files with 6 additions and 0 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue