Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Type Alias SelectConfig<Value>Experimental

    SelectConfig: Omit<Config<"select", Value>, "default"> & {
        choices:
            | [string] & string[]
            | {
                value: Value;
                description?: string;
                disabled?: boolean | string;
                name?: string;
                short?: string;
            }[];
        default?: Value;
        loop?: boolean;
        pageSize?: number;
        theme?: RecursivePartial<
            DefaultTheme & {
                helpMode: "always"
                | "never"
                | "auto";
                icon: { cursor: string };
                indexMode: "hidden" | "number";
                style: {
                    description: (text: string) => string;
                    disabled: (text: string) => string;
                };
            },
        >;
    }

    Optional configuration for NodeConsole.prompt.select.

    Type Parameters