fix(sqlite): fixes echoTest and deleteDatabase

echoTest and deleteDatabase methods belong to the SQLite class, and not the SQLiteObject class

closes #1275
This commit is contained in:
Ibby Hadeed 2017-03-28 04:11:19 -04:00
parent a7854b7fad
commit 01aece1fbb

View File

@ -124,19 +124,6 @@ export class SQLiteObject {
})
abortFromQ(sqlerror): void { }
/**
* @returns {Promise<any>}
*/
@Cordova()
echoTest(): Promise<any> { return; }
/**
* @param first
* @returns {Promise<any>}
*/
@Cordova()
deleteDatabase(first): Promise<any> { return; }
}
/**
@ -198,4 +185,17 @@ export class SQLite {
});
}
/**
* @returns {Promise<any>}
*/
@Cordova()
echoTest(): Promise<any> { return; }
/**
* @param first
* @returns {Promise<any>}
*/
@Cordova()
deleteDatabase(first): Promise<any> { return; }
}