Send ActionRowBuilder as Message

I can't send my action row as message after creation. I did exactly the same shown at https://discordjs.guide/interactions/select-menus.html#building-and-sending-select-menus. But when giving the action row into the components array of interaction.reply it says "Type ActionRowBuilder is not assignable to type APIActionRowComponent". What did I wrong?
const row = new ActionRowBuilder().addComponents(
new SelectMenuBuilder()
.setCustomId('ticket_select')
.setPlaceholder('Wähle eine Kategorie')
.addOptions({ label: 'a', value: 'a' }, { label: 'b', value: 'b' }),
);

interaction.reply({ content: 'g', components: [row] });
const row = new ActionRowBuilder().addComponents(
new SelectMenuBuilder()
.setCustomId('ticket_select')
.setPlaceholder('Wähle eine Kategorie')
.addOptions({ label: 'a', value: 'a' }, { label: 'b', value: 'b' }),
);

interaction.reply({ content: 'g', components: [row] });
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
3 Replies
d.js docs
d.js docs2y ago
• 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.
chewie 🌈
chewie 🌈2y ago
new ActionRowBuilder<SelectMenuBuilder>()
Peace
Peace2y ago
Oh, well. Thanks. Not seeing the sense here but it's working 🙂