mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-22 01:19:36 +08:00
ref(app-version): add corrent return types
ref(app-version): add corrent return types
This commit is contained in:
commit
6fe3a5f90a
@ -38,30 +38,30 @@ export class AppVersion extends IonicNativePlugin {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the app
|
* Returns the name of the app
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<string>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
getAppName(): Promise<any> { return; }
|
getAppName(): Promise<string> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the package name of the app
|
* Returns the package name of the app
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<string>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
getPackageName(): Promise<any> { return; }
|
getPackageName(): Promise<string> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the build identifier of the app
|
* Returns the build identifier of the app
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<string>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
getVersionCode(): Promise<any> { return; }
|
getVersionCode(): Promise<string> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the version of the app
|
* Returns the version of the app
|
||||||
* @returns {Promise<any>}
|
* @returns {Promise<string>}
|
||||||
*/
|
*/
|
||||||
@Cordova()
|
@Cordova()
|
||||||
getVersionNumber(): Promise<any> { return; }
|
getVersionNumber(): Promise<string> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user