diff --git a/DEVELOPER.md b/DEVELOPER.md index d7b164051a..3797547113 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -194,7 +194,7 @@ Checks if the plugin and property exist before getting/setting the property's va Example: ```ts -@CordovaProperty +@CordovaProperty() someProperty: string; ``` diff --git a/src/@ionic-native/plugins/extended-device-information/index.ts b/src/@ionic-native/plugins/extended-device-information/index.ts index 280b4b62df..a0daf0fb3f 100644 --- a/src/@ionic-native/plugins/extended-device-information/index.ts +++ b/src/@ionic-native/plugins/extended-device-information/index.ts @@ -53,6 +53,6 @@ export class ExtendedDeviceInformation extends IonicNativePlugin { /** * Get the total storage */ - @CordovaProperty + @CordovaProperty() freestorage: number; }