mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-17 19:26:20 +00:00
fix (ts): include pupPage and pupBrowser properties on Client typedef
This commit is contained in:
6
index.d.ts
vendored
6
index.d.ts
vendored
@@ -10,6 +10,12 @@ declare namespace WAWebJS {
|
|||||||
/** Current connection information */
|
/** Current connection information */
|
||||||
public info: ClientInfo
|
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 */
|
/**Accepts an invitation to join a group */
|
||||||
acceptInvite(inviteCode: string): Promise<void>
|
acceptInvite(inviteCode: string): Promise<void>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user