Interface IDialogWrapper

interface IDialogWrapper {
    alert: (message?: string) => Promise<void>;
    confirm: (message?: string) => Promise<boolean>;
    confirmSync: (message?: string) => boolean;
    prompt: (
        message?: string,
        _default?: string,
        cancel?: boolean,
    ) => Promise<null | string>;
}

Properties

alert: (message?: string) => Promise<void>
confirm: (message?: string) => Promise<boolean>
confirmSync: (message?: string) => boolean
prompt: (
    message?: string,
    _default?: string,
    cancel?: boolean,
) => Promise<null | string>