fix(types): correct response type for message.forward() (#324)

This commit is contained in:
Caio Henrique Agiani 2020-08-28 23:00:13 -03:00 • committed by GitHub
commit c827b32328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View file

@ -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 */