fix(sqlite): fix callback order for transaction (#700)

This commit is contained in:
Ibrahim Hadeed 2016-10-15 07:41:46 -07:00 committed by GitHub
parent b95f88c165
commit 799e2f0b2e

View File

@ -87,7 +87,10 @@ export class SQLite {
})
addTransaction(transaction: any): void { }
@CordovaInstance()
@CordovaInstance({
successIndex: 2,
errorIndex: 1
})
transaction(fn: any): Promise<any> { return; }
@CordovaInstance()