4 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Error:
It says that I cannot apply the
ActionRowBuilder<AnyComponentBuilder>
to APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>
I followed the discord.js guide but TypeScript detects it wrong
I can set type any to the row and errors out but I want to know if I'm doing something wrong(or how to solve it)In TypeScript the
ActionRowBuilder
class has a generic type parameter that specifies the type of component the action row holds:
Ohhh, okok. I'm +- new to ts and I don't know everything sorry ;-;
Thx a lot for the help <a:av_besitos:1114871486419832852>