UNPKG

397 BTypeScriptView Raw
1import { PromptQuestion } from '@ionic/cli-framework';
2import { ILogger, IonicEnvironmentFlags } from '../definitions';
3export interface CreateOnFallbackOptions {
4 readonly flags: IonicEnvironmentFlags;
5 readonly log: ILogger;
6}
7export declare function createOnFallback({ flags: { confirm }, log }: CreateOnFallbackOptions): (question: PromptQuestion) => string | boolean | void | string[];