mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-20 17:02:19 +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 { }
|
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…
x
Reference in New Issue
Block a user