fix(typings): Add ConnectOptions typings (#1354)
* Add ConnectOptions typings * simplify type Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
This commit is contained in:
parent
e9104b390d
commit
fa9f6610d7
1 changed files with 1 additions and 1 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -304,7 +304,7 @@ declare namespace WAWebJS {
|
|||
* @default 0 */
|
||||
authTimeoutMs?: number,
|
||||
/** Puppeteer launch options. View docs here: https://github.com/puppeteer/puppeteer/ */
|
||||
puppeteer?: puppeteer.LaunchOptions & puppeteer.BrowserLaunchArgumentOptions & puppeteer.BrowserConnectOptions
|
||||
puppeteer?: puppeteer.PuppeteerNodeLaunchOptions & puppeteer.ConnectOptions
|
||||
/** Determines how to save and restore sessions. Will use LegacySessionAuth if options.session is set. Otherwise, NoAuth will be used. */
|
||||
authStrategy?: AuthStrategy,
|
||||
/** How many times should the qrcode be refreshed before giving up
|
||||
|
|
|
|||
Loading…
Reference in a new issue