3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-03-29 02:12:46 +08:00

fix(sqlite): fixes echoTest and deleteDatabase

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

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

@ -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; }
}