mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
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:
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; }
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user