mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
fix(extended-device-information): fix wrong decorator
This commit is contained in:
parent
5ac940d2bf
commit
5e9c92a773
@ -194,7 +194,7 @@ Checks if the plugin and property exist before getting/setting the property's va
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```ts
|
```ts
|
||||||
@CordovaProperty
|
@CordovaProperty()
|
||||||
someProperty: string;
|
someProperty: string;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -53,6 +53,6 @@ export class ExtendedDeviceInformation extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
* Get the total storage
|
* Get the total storage
|
||||||
*/
|
*/
|
||||||
@CordovaProperty
|
@CordovaProperty()
|
||||||
freestorage: number;
|
freestorage: number;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user