mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
refractor(sqlite): use InstanceProperty for databaseFeatures
This commit is contained in:
parent
9082c5efbf
commit
dd250a6d17
@ -1,4 +1,4 @@
|
||||
import {Cordova, CordovaInstance, Plugin, pluginWarn} from './plugin';
|
||||
import {Cordova, CordovaInstance, Plugin, pluginWarn, InstanceProperty} from './plugin';
|
||||
|
||||
|
||||
declare var sqlitePlugin;
|
||||
@ -53,9 +53,8 @@ declare var sqlitePlugin;
|
||||
export class SQLite {
|
||||
|
||||
private _objectInstance: any;
|
||||
get databaseFeatures(): any {
|
||||
return this._objectInstance.databaseFeatures;
|
||||
}
|
||||
|
||||
@InstanceProperty databaseFeatures: any;
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user