@ionic/cli-utils
Version:
Ionic CLI Utils
8 lines (7 loc) • 397 B
TypeScript
import { PromptQuestion } from '@ionic/cli-framework';
import { ILogger, IonicEnvironmentFlags } from '../definitions';
export interface CreateOnFallbackOptions {
readonly flags: IonicEnvironmentFlags;
readonly log: ILogger;
}
export declare function createOnFallback({ flags: { confirm }, log }: CreateOnFallbackOptions): (question: PromptQuestion) => string | boolean | void | string[];