@types/cordova-plugin-app-version
Version:
TypeScript definitions for cordova-plugin-app-version
28 lines (22 loc) • 926 B
Markdown
# Installation
> `npm install --save @types/cordova-plugin-app-version`
# Summary
This package contains type definitions for cordova-plugin-app-version (https://github.com/whiteoctober/cordova-plugin-app-version).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-app-version.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-app-version/index.d.ts)
````ts
interface Cordova {
getAppVersion: {
getAppName: () => Promise<string>;
getPackageName: () => Promise<string>;
getVersionCode: () => Promise<string>;
getVersionNumber: () => Promise<string>;
};
}
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:05 GMT
* Dependencies: none
# Credits
These definitions were written by [Markus Wagner](https://github.com/Ritzlgrmft).