mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
Corrected some docstrings (#1611)
* corrected some docstrings * merge master * fixed MessageSearchResult typedef and moved the note for the hit property to there
This commit is contained in:
@@ -31,8 +31,9 @@ const { TypeError } = require('../../errors');
|
||||
|
||||
/**
|
||||
* @typedef {Object} MessageSearchResult
|
||||
* @type {number} total Total result count
|
||||
* @type {Array<Message[]>} results Array of message results
|
||||
* @property {number} total Total result count
|
||||
* @property {Array<Message[]>} results Array of message results
|
||||
* The message which has triggered the result will have the `hit` property set to `true`
|
||||
*/
|
||||
|
||||
module.exports = function search(target, options) {
|
||||
|
||||
Reference in New Issue
Block a user