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
parent 2345b5c4ee
commit c827b32328

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