mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-04 10:00:08 +00:00
types: make required a boolean (#7307)
This commit is contained in:
@@ -5,7 +5,7 @@ import { SharedNameAndDescription } from './NameAndDescription';
|
||||
export abstract class ApplicationCommandOptionBase extends SharedNameAndDescription {
|
||||
public abstract readonly type: ApplicationCommandOptionType;
|
||||
|
||||
public readonly required = false;
|
||||
public readonly required: boolean = false;
|
||||
|
||||
/**
|
||||
* Marks the option as required
|
||||
|
||||
Reference in New Issue
Block a user