ref(app-version): add corrent return types

ref(app-version): add corrent return types
This commit is contained in:
Daniel Sogl 2018-03-16 16:49:01 +01:00 committed by GitHub
commit 6fe3a5f90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,30 +38,30 @@ export class AppVersion extends IonicNativePlugin {
/**
* Returns the name of the app
* @returns {Promise<any>}
* @returns {Promise<string>}
*/
@Cordova()
getAppName(): Promise<any> { return; }
getAppName(): Promise<string> { return; }
/**
* Returns the package name of the app
* @returns {Promise<any>}
* @returns {Promise<string>}
*/
@Cordova()
getPackageName(): Promise<any> { return; }
getPackageName(): Promise<string> { return; }
/**
* Returns the build identifier of the app
* @returns {Promise<any>}
* @returns {Promise<string>}
*/
@Cordova()
getVersionCode(): Promise<any> { return; }
getVersionCode(): Promise<string> { return; }
/**
* Returns the version of the app
* @returns {Promise<any>}
* @returns {Promise<string>}
*/
@Cordova()
getVersionNumber(): Promise<any> { return; }
getVersionNumber(): Promise<string> { return; }
}