Handle choose being null (#8859)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
Bram Kragten
2021-04-08 20:48:49 +02:00
committed by GitHub
parent d69accd9a5
commit 7d801ff84c
3 changed files with 12 additions and 8 deletions

View File

@@ -112,7 +112,7 @@ export interface ChooseActionChoice {
export interface ChooseAction {
alias?: string;
choose: ChooseActionChoice[];
choose: ChooseActionChoice[] | null;
default?: Action | Action[];
}