Skip to content

Commit

Permalink
chore: update select option type
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Dec 21, 2024
1 parent fc8337f commit 367f35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/prompts/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface SelectOptions<T extends { value: any }> extends PromptOptions<SelectPr
initialValue?: T['value'];
}
export default class SelectPrompt<T extends { value: any }> extends Prompt {
options: NonEmptyArray<SelectOptions<T>['options']>;
options: NonEmptyArray<T>;
cursor = 0;

private get _value() {
Expand Down

0 comments on commit 367f35a

Please sign in to comment.