fix(APISelectMenuComponent): options property is required (#248)

This commit is contained in:
PikaDude
2021-12-01 05:11:44 +11:00
committed by GitHub
parent 3ff85eede4
commit 51dee6e0e5
4 changed files with 4 additions and 4 deletions

View File

@@ -1027,7 +1027,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options?: APISelectMenuOption[];
options: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/

View File

@@ -1156,7 +1156,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options?: APISelectMenuOption[];
options: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/

View File

@@ -1027,7 +1027,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options?: APISelectMenuOption[];
options: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/

View File

@@ -1156,7 +1156,7 @@ export interface APISelectMenuComponent extends APIBaseMessageComponent<Componen
/**
* The choices in the select, max 25
*/
options?: APISelectMenuOption[];
options: APISelectMenuOption[];
/**
* Custom placeholder text if nothing is selected, max 100 characters
*/