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

This commit is contained in:
PikaDude
2021-11-30 20:11:44 +02:00
committed by GitHub
parent 3ff85eede4
commit 51dee6e0e5
4 changed files with 4 additions and 4 deletions
+1 -1
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
*/
+1 -1
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
*/
+1 -1
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
*/
+1 -1
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
*/