first commit
This commit is contained in:
25
node_modules/@inquirer/expand/dist/esm/index.d.ts
generated
vendored
Normal file
25
node_modules/@inquirer/expand/dist/esm/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { Separator, type Theme } from '@inquirer/core';
|
||||
import type { PartialDeep } from '@inquirer/type';
|
||||
type Key = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
||||
type Choice<Value> = {
|
||||
key: Key;
|
||||
value: Value;
|
||||
} | {
|
||||
key: Key;
|
||||
name: string;
|
||||
value: Value;
|
||||
};
|
||||
declare const _default: <Value>(config: {
|
||||
message: string;
|
||||
choices: readonly {
|
||||
key: Key;
|
||||
name: string;
|
||||
}[] | readonly (Separator | Choice<Value>)[];
|
||||
default?: (Key | "h") | undefined;
|
||||
expanded?: boolean | undefined;
|
||||
theme?: PartialDeep<Theme> | undefined;
|
||||
}, context?: import("@inquirer/type").Context) => Promise<Value> & {
|
||||
cancel: () => void;
|
||||
};
|
||||
export default _default;
|
||||
export { Separator } from '@inquirer/core';
|
||||
Reference in New Issue
Block a user