fix(sqlite): fix callback order for transaction (#700)
This commit is contained in:
parent
b95f88c165
commit
799e2f0b2e
@ -87,7 +87,10 @@ export class SQLite {
|
|||||||
})
|
})
|
||||||
addTransaction(transaction: any): void { }
|
addTransaction(transaction: any): void { }
|
||||||
|
|
||||||
@CordovaInstance()
|
@CordovaInstance({
|
||||||
|
successIndex: 2,
|
||||||
|
errorIndex: 1
|
||||||
|
})
|
||||||
transaction(fn: any): Promise<any> { return; }
|
transaction(fn: any): Promise<any> { return; }
|
||||||
|
|
||||||
@CordovaInstance()
|
@CordovaInstance()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user