mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Travis errors fixed
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/// <reference path="../cordova/cordova.d.ts" />
|
||||
/// <reference path="cordova-plugin-app-version.d.ts" />
|
||||
/// <reference path="./cordova-plugin-app-version.d.ts" />
|
||||
|
||||
cordova.getAppVersion.getAppName()
|
||||
.then(appName=> {
|
||||
console.log(appName)
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
/// <reference path="../Q/Q.d.ts" />
|
||||
// Type definitions for cordova-plugin-app-version v0.1.7
|
||||
// Type definitions for cordova-plugin-app-version v0.1.7
|
||||
// Project: https://github.com/whiteoctober/cordova-plugin-app-version
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../q/Q.d.ts" />
|
||||
|
||||
interface Cordova {
|
||||
getAppVersion: {
|
||||
getAppName: () => Q.IPromise<string>;
|
||||
|
||||
Reference in New Issue
Block a user