From 9b42bcd2041bd440d8d8d3da62bc362d588e5a56 Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sat, 19 Oct 2024 12:33:55 +0200 Subject: [PATCH] chore: change ts-expect-error to ts-ignore --- src/lib/utils/application-commands/normalizeInputs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/utils/application-commands/normalizeInputs.ts b/src/lib/utils/application-commands/normalizeInputs.ts index a44b39ae3..f2163e77c 100644 --- a/src/lib/utils/application-commands/normalizeInputs.ts +++ b/src/lib/utils/application-commands/normalizeInputs.ts @@ -110,7 +110,8 @@ export function normalizeContextMenuCommand( const finalObject: RESTPostAPIContextMenuApplicationCommandsJSONBody = { name: command.name, name_localizations: command.nameLocalizations, - // @ts-expect-error temporarily ignore the error because discord.js broke types + // TODO (favna 2024-10-19): Remove this line after discord.js has been updated past 14.16.3 + // @ts-ignore temporarily ignore the error because discord.js broke types type: command.type, dm_permission: command.dmPermission, nsfw: command.nsfw,