chore: fix jsdoc invalid types

This commit is contained in:
Pedro S Lopez 2026-01-05 01:40:06 -04:00
commit c13510e907

View file

@ -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)));