From 5095c5a5a7d9f2cad6b44636f25d4d92af4cc7c0 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Tue, 3 Jun 2014 18:43:03 +0300 Subject: [PATCH] prompt declaration fixed --- ui/dialogs/dialogs.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/dialogs/dialogs.d.ts b/ui/dialogs/dialogs.d.ts index 8658fcb73..161ab8b09 100644 --- a/ui/dialogs/dialogs.d.ts +++ b/ui/dialogs/dialogs.d.ts @@ -28,13 +28,13 @@ * The prompt() method displays a dialog box that prompts the visitor for input. * @param text The text to display in the dialog box. */ - function prompt(text: string, defaultText?: string): void; + function prompt(text: string, defaultText?: string): promises.Promise; /** * The prompt() method displays a dialog box that prompts the visitor for input. * @param options The options for the dialog box. */ - function prompt(options: PromptOptions): void; + function prompt(options: PromptOptions): promises.Promise; /** * Provides options for the alert.