fix(health): fix typos (#2831)

This commit is contained in:
J-Loup 2019-01-04 22:05:58 +01:00 committed by Daniel Sogl
parent 3edd62e56c
commit ea3150e99a
2 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ export class Health extends IonicNativePlugin {
*
* Quirks of isAuthorized()
*
* In iOS, this function will only check authorization status for writeable data.
* In iOS, this function will only check authorization status for writable data.
* Read-only data will always be considered as not authorized. This is an intended behaviour of HealthKit.
*
* @param {Array<string | HealthDataType>} datatypes a list of data types you want to check access of, same as in requestAuthorization

View File

@ -22,7 +22,7 @@ export interface NdefRecord {
export interface NdefTag {
canMakeReadOnly: boolean;
id: number[];
isWriteable: boolean;
isWritable: boolean;
maxSize: number;
ndefMessage: NdefRecord[];
techTypes: string[];
@ -196,7 +196,7 @@ export class NFC extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
makeReadyOnly(): Promise<any> {
makeReadOnly(): Promise<any> {
return;
}