Skip to content

Commit

Permalink
chore: change ts-expect-error to ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Oct 19, 2024
1 parent 7101cb6 commit 9b42bcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/utils/application-commands/normalizeInputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9b42bcd

Please sign in to comment.