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