From b62d6462711cd6a8fda5cb031d052dd343a2c3c0 Mon Sep 17 00:00:00 2001 From: ckohen Date: Sun, 4 Jul 2021 04:25:35 -0700 Subject: [PATCH] docs: add Partial typedef (#6029) --- src/structures/MessageEmbed.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/structures/MessageEmbed.js b/src/structures/MessageEmbed.js index d05a20d05..d40c3d8bf 100644 --- a/src/structures/MessageEmbed.js +++ b/src/structures/MessageEmbed.js @@ -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