diff --git a/index.d.ts b/index.d.ts index 46c9a0e..9ed85e6 100644 --- a/index.d.ts +++ b/index.d.ts @@ -160,7 +160,7 @@ declare namespace WAWebJS { * @param showNotification - Show notification to pair on phone number * @returns {Promise} - Returns a pairing code in format "ABCDEFGH" */ - requestPairingCode(phoneNumber: string, showNotification = true): Promise + requestPairingCode(phoneNumber: string, showNotification?: boolean): Promise /** Force reset of connection state for the client */ resetState(): Promise