Update cordova.d.ts

This commit is contained in:
Geoffrey Goh
2016-05-10 16:04:24 -07:00
parent 741430a178
commit c2bdcedfd5
+1 -1
View File
@@ -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 */