refractor(sqlite): use InstanceProperty for databaseFeatures

This commit is contained in:
Ibby Hadeed 2016-12-04 11:50:29 -05:00
parent 9082c5efbf
commit dd250a6d17

View File

@ -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() { }