mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: add Partial typedef (#6029)
This commit is contained in:
@@ -14,6 +14,13 @@ class MessageEmbed {
|
||||
* @param {MessageEmbed|MessageEmbedOptions} [data={}] MessageEmbed to clone or raw embed data
|
||||
*/
|
||||
|
||||
/**
|
||||
* A `Partial` object is a representation of any existing object.
|
||||
* This object contains between 0 and all of the original objects parameters.
|
||||
* This is true regardless of whether the parameters are optional in the base object.
|
||||
* @typedef {Object} Partial
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents the possible options for a MessageEmbed
|
||||
* @typedef {Object} MessageEmbedOptions
|
||||
|
||||
Reference in New Issue
Block a user