mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
fix(Typings): add missing typings for HttpError -> requestData (#5742)
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
@@ -42,8 +42,9 @@ class HTTPError extends Error {
|
||||
/**
|
||||
* The attachment data that is sent to Discord
|
||||
* @typedef {Object} HTTPAttachmentData
|
||||
* @property {string|Buffer|Stream} attachment The source of this attachment data
|
||||
* @property {string} name The file name
|
||||
* @property {Buffer} file The file buffer
|
||||
* @property {Buffer|Stream} file The file buffer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user