mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
chore(): optimize CordovaProperty and InstanceProperty decorators (#635)
* chore(): optimize InstanceProperty wrapper * chore(): optimize CordovaProperty wrapper * tslint' * fix decorators
This commit is contained in:
@@ -55,7 +55,7 @@ export class Network {
|
||||
* Return the network connection type
|
||||
*/
|
||||
@CordovaProperty
|
||||
static get connection(): string { return navigator.connection.type; }
|
||||
static connection: string;
|
||||
|
||||
/**
|
||||
* Get notified when the device goes offline
|
||||
|
||||
Reference in New Issue
Block a user