mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +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;
|
declare var sqlitePlugin;
|
||||||
@ -53,9 +53,8 @@ declare var sqlitePlugin;
|
|||||||
export class SQLite {
|
export class SQLite {
|
||||||
|
|
||||||
private _objectInstance: any;
|
private _objectInstance: any;
|
||||||
get databaseFeatures(): any {
|
|
||||||
return this._objectInstance.databaseFeatures;
|
@InstanceProperty databaseFeatures: any;
|
||||||
}
|
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user