Skip to content

Commit

Permalink
types: make required a boolean (#7307)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 20, 2022
1 parent d0fa5aa commit c10afea
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit c10afea

Please sign in to comment.