refactor(dialogs):

This commit is contained in:
Guille 2016-07-08 00:54:38 +02:00
parent 17214ffba7
commit bc3f10cbc1

View File

@ -1,4 +1,5 @@
import {Plugin, Cordova} from './plugin'; import { Cordova, Plugin } from './plugin';
export interface PromptCallback { export interface PromptCallback {
@ -11,7 +12,6 @@ export interface PromptCallback {
* The text entered in the prompt dialog box. (String) * The text entered in the prompt dialog box. (String)
*/ */
input1: string; input1: string;
} }
@ -53,7 +53,7 @@ export class Dialogs {
message, message,
title: string = 'Alert', title: string = 'Alert',
buttonName: string = 'OK' buttonName: string = 'OK'
): Promise<any> {return; } ): Promise<any> { return; }
/** /**
* Displays a customizable confirmation dialog box. * Displays a customizable confirmation dialog box.
@ -99,6 +99,6 @@ export class Dialogs {
@Cordova({ @Cordova({
sync: true sync: true
}) })
static beep(times: number): void {} static beep(times: number): void { }
} }