From 5e9c92a7736786776313576070df52e84810e874 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 21 Aug 2018 21:12:43 +0200 Subject: [PATCH] fix(extended-device-information): fix wrong decorator --- DEVELOPER.md | 2 +- src/@ionic-native/plugins/extended-device-information/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }