chore: fix jsdoc invalid types
This commit is contained in:
parent
180190a66a
commit
c13510e907
1 changed files with 7 additions and 7 deletions
|
|
@ -356,7 +356,7 @@ class Message extends Base {
|
|||
|
||||
/**
|
||||
* Returns groups mentioned in this message
|
||||
* @returns {Promise<GroupChat[]|[]>}
|
||||
* @returns {Promise<Array<GroupChat>>}
|
||||
*/
|
||||
async getGroupMentions() {
|
||||
return await Promise.all(this.groupMentions.map(async (m) => await this.client.getChatById(m.groupJid._serialized)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue