File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
cordova-plugin-app-version Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft/>
4
4
// Definitions: https://github.com/borisyankov/DefinitelyTyped
5
5
6
+ /// <reference path="../jquery/jquery.d.ts" />
6
7
/// <reference path="../q/Q.d.ts" />
7
8
8
9
interface Cordova {
9
- getAppVersion : {
10
- getAppName : ( ) => Q . IPromise < string > ;
11
- getPackageName : ( ) => Q . IPromise < string > ;
12
- getVersionCode : ( ) => Q . IPromise < string > ;
13
- getVersionNumber : ( ) => Q . IPromise < string > ;
10
+ getAppVersion : {
11
+ getAppName : ( ) => Q . IPromise < string > | JQueryPromise < string > ;
12
+ getPackageName : ( ) => Q . IPromise < string > | JQueryPromise < string > ;
13
+ getVersionCode : ( ) => Q . IPromise < string > | JQueryPromise < string > ;
14
+ getVersionNumber : ( ) => Q . IPromise < string > | JQueryPromise < string > ;
14
15
} ;
15
16
}
You can’t perform that action at this time.
0 commit comments