From fca3dada2a565eecfc7e5275cc9317df1d261871 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Sat, 30 Jul 2022 10:39:15 +0100 Subject: [PATCH] docs(Embed): Ensure height and width are numbers (#8396) --- packages/discord.js/src/structures/Embed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/discord.js/src/structures/Embed.js b/packages/discord.js/src/structures/Embed.js index 2566c8336a23..a84223ac8f68 100644 --- a/packages/discord.js/src/structures/Embed.js +++ b/packages/discord.js/src/structures/Embed.js @@ -73,8 +73,8 @@ class Embed { * @typedef {Object} EmbedAssetData * @property {?string} url The URL of the image * @property {?string} proxyURL The proxy URL of the image - * @property {?string} height The height of the image - * @property {?string} width The width of the image + * @property {?number} height The height of the image + * @property {?number} width The width of the image */ /**