mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
docs(MessagePayload): Correct return type of resolveFile() (#6605)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user