UNPKG

371 BTypeScriptView Raw
1import * as inquirer from 'inquirer';
2declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
3export declare type Options = Partial<Omit<inquirer.Question, 'message' | 'name'>>;
4export declare function askForString(phrase: string, options?: Options): Promise<string>;
5export declare function askForPassword(phrase: string, options?: Options): Promise<string>;
6export {};