fix(ts): getNumberId typings caused error on build

This commit is contained in:
Pedro S. Lopez
2021-02-09 15:35:57 -04:00
parent 1f756142e4
commit 0cbb0373ad

2
index.d.ts vendored
View File

@@ -84,7 +84,7 @@ declare namespace WAWebJS {
isRegisteredUser(contactId: string): Promise<boolean>
/** 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