mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
@@ -3,13 +3,14 @@
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
/// <reference path="../q/Q.d.ts" />
|
||||
|
||||
interface Cordova {
|
||||
getAppVersion: {
|
||||
getAppName: () => Q.IPromise<string>;
|
||||
getPackageName: () => Q.IPromise<string>;
|
||||
getVersionCode: () => Q.IPromise<string>;
|
||||
getVersionNumber: () => Q.IPromise<string>;
|
||||
getAppVersion: {
|
||||
getAppName: () => Q.IPromise<string> | JQueryPromise<string>;
|
||||
getPackageName: () => Q.IPromise<string> | JQueryPromise<string>;
|
||||
getVersionCode: () => Q.IPromise<string> | JQueryPromise<string>;
|
||||
getVersionNumber: () => Q.IPromise<string> | JQueryPromise<string>;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user