@discordjs/core interaction create type error
Hi, I am creating a bot using @discordjs/core and it seems to be having issues with TypeScript when I do
i.data.data?.name to get the name of the command, doing debugging I can see that name does exist under there but TypeScript is saying it doesn't. I could get around this by using any but my code doesn't allow any for many reasons. Is there a reason for this?