mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-20 20:49:14 +00:00
fix(ts): getNumberId typings caused error on build
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -84,7 +84,7 @@ declare namespace WAWebJS {
|
|||||||
isRegisteredUser(contactId: string): Promise<boolean>
|
isRegisteredUser(contactId: string): Promise<boolean>
|
||||||
|
|
||||||
/** Get the registered WhatsApp ID for a number. Returns null if the number is not registered on WhatsApp. */
|
/** Get the registered WhatsApp ID for a number. Returns null if the number is not registered on WhatsApp. */
|
||||||
getNumberId(number: string): Promise<ContactId?>
|
getNumberId(number: string): Promise<ContactId | null>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mutes the Chat until a specified date
|
* Mutes the Chat until a specified date
|
||||||
|
|||||||
Reference in New Issue
Block a user