From 01aece1fbb52eb34fe71129b7ff360c78f473c28 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Tue, 28 Mar 2017 04:11:19 -0400 Subject: [PATCH] fix(sqlite): fixes echoTest and deleteDatabase echoTest and deleteDatabase methods belong to the SQLite class, and not the SQLiteObject class closes #1275 --- src/@ionic-native/plugins/sqlite/index.ts | 26 +++++++++++------------ 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/@ionic-native/plugins/sqlite/index.ts b/src/@ionic-native/plugins/sqlite/index.ts index ec49da5b2..2baa389ad 100644 --- a/src/@ionic-native/plugins/sqlite/index.ts +++ b/src/@ionic-native/plugins/sqlite/index.ts @@ -124,19 +124,6 @@ export class SQLiteObject { }) abortFromQ(sqlerror): void { } - /** - * @returns {Promise} - */ - @Cordova() - echoTest(): Promise { return; } - - /** - * @param first - * @returns {Promise} - */ - @Cordova() - deleteDatabase(first): Promise { return; } - } /** @@ -198,4 +185,17 @@ export class SQLite { }); } + /** + * @returns {Promise} + */ + @Cordova() + echoTest(): Promise { return; } + + /** + * @param first + * @returns {Promise} + */ + @Cordova() + deleteDatabase(first): Promise { return; } + }