Fix TS2371 error in requestPairingCode type declaration (#3622)
This commit is contained in:
parent
6c75d185c5
commit
fcb58d3070
1 changed files with 1 additions and 1 deletions
2
index.d.ts
vendored
2
index.d.ts
vendored
|
|
@ -160,7 +160,7 @@ declare namespace WAWebJS {
|
|||
* @param showNotification - Show notification to pair on phone number
|
||||
* @returns {Promise<string>} - Returns a pairing code in format "ABCDEFGH"
|
||||
*/
|
||||
requestPairingCode(phoneNumber: string, showNotification = true): Promise<string>
|
||||
requestPairingCode(phoneNumber: string, showNotification?: boolean): Promise<string>
|
||||
|
||||
/** Force reset of connection state for the client */
|
||||
resetState(): Promise<void>
|
||||
|
|
|
|||
Loading…
Reference in a new issue