mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
chore(build): update build process, commands, and packages
* chore(build): change build commands + tools * refactor(sqlite): tslint * chore(tsconfig): update tsconfig & change build command * chore(build): change build commands
This commit is contained in:
@@ -67,13 +67,13 @@ export class SQLite {
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
openDatabase (config: any) : Promise<any> {
|
||||
openDatabase (config: any): Promise<any> {
|
||||
return new Promise((resolve, reject) => {
|
||||
sqlitePlugin.openDatabase(config, db => {
|
||||
this._objectInstance = db;
|
||||
resolve(db);
|
||||
}, error => {
|
||||
console.warn(error)
|
||||
console.warn(error);
|
||||
reject(error);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user