From c2bdcedfd5a7386a7bbdc3d0c9b9baf1d82ba5f3 Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Tue, 10 May 2016 16:04:24 -0700 Subject: [PATCH] Update cordova.d.ts --- cordova/cordova.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cordova/cordova.d.ts b/cordova/cordova.d.ts index 299e2da4d9..7de1e8b0c1 100644 --- a/cordova/cordova.d.ts +++ b/cordova/cordova.d.ts @@ -35,7 +35,7 @@ interface Cordova { * @param action The action name to call on the native side (generally corresponds to the native class method). * @param args An array of arguments to pass into the native environment. */ - exec(success: () => any, fail: () => any, service: string, action: string, args?: string[]): void; + exec(success: () => any, fail: () => any, service: string, action: string, args?: (string | number | boolean)[]): void; /** Gets the operating system name. */ platformId: string; /** Gets Cordova framework version */