mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
fix(types): correct response type for message.forward() (#324)
This commit is contained in:
committed by
GitHub
parent
2345b5c4ee
commit
c827b32328
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -488,7 +488,7 @@ declare namespace WAWebJS {
|
||||
/**
|
||||
* Forwards this message to another chat
|
||||
*/
|
||||
forward: (chat: Chat | string) => Promise,
|
||||
forward: (chat: Chat | string) => Promise<void>,
|
||||
}
|
||||
|
||||
/** ID that represents a message */
|
||||
|
||||
Reference in New Issue
Block a user