docs(MessagePayload): Correct return type of resolveFile() (#6605)

This commit is contained in:
Jiralite
2021-09-08 13:34:26 +01:00
committed by GitHub
parent f57791c5fe
commit ea6a57e927

View File

@@ -209,7 +209,7 @@ class MessagePayload {
/** /**
* Resolves a single file into an object sendable to the API. * Resolves a single file into an object sendable to the API.
* @param {BufferResolvable|Stream|FileOptions|MessageAttachment} fileLike Something that could be resolved to a file * @param {BufferResolvable|Stream|FileOptions|MessageAttachment} fileLike Something that could be resolved to a file
* @returns {MessageFile} * @returns {Promise<MessageFile>}
*/ */
static async resolveFile(fileLike) { static async resolveFile(fileLike) {
let attachment; let attachment;