We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b623d6a commit 6d1e5e6Copy full SHA for 6d1e5e6
packages/core/src/prompts/group-multiselect.ts
@@ -47,7 +47,7 @@ export default class GroupMultiSelectPrompt<T extends { value: any }> extends Pr
47
this.options = Object.entries(options).flatMap(([key, option]) => [
48
{ value: key, group: true, label: key },
49
...option.map((opt) => ({ ...opt, group: key })),
50
- ]);
+ ]) as any;
51
this.value = [...(opts.initialValues ?? [])];
52
this.cursor = Math.max(
53
this.options.findIndex(({ value }) => value === opts.cursorAt),
0 commit comments