mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
chore: deps
This commit is contained in:
@@ -52,7 +52,7 @@ export class SlashCommandIntegerOption
|
||||
throw new RangeError('Autocomplete and choices are mutually exclusive to each other.');
|
||||
}
|
||||
|
||||
return { ...this };
|
||||
return { ...this } as APIApplicationCommandIntegerOption;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ export class SlashCommandNumberOption
|
||||
throw new RangeError('Autocomplete and choices are mutually exclusive to each other.');
|
||||
}
|
||||
|
||||
return { ...this };
|
||||
return { ...this } as APIApplicationCommandNumberOption;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ export class SlashCommandStringOption extends ApplicationCommandOptionBase {
|
||||
throw new RangeError('Autocomplete and choices are mutually exclusive to each other.');
|
||||
}
|
||||
|
||||
return { ...this };
|
||||
return { ...this } as APIApplicationCommandStringOption;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user