(data: any)
| 511 | applyLocally, |
| 512 | new org.nativescript.firebase.database.FirebaseDatabase.TransactionCallback({ |
| 513 | doTransaction(data: any): any { |
| 514 | const newData = transactionUpdate(deserialize(data)); |
| 515 | // TODO improve |
| 516 | return serializeItems(newData, true); |
| 517 | }, |
| 518 | onComplete(error: com.google.firebase.database.DatabaseError, commited: boolean, snapshot: com.google.firebase.database.DataSnapshot): void { |
| 519 | const ss = DataSnapshot.fromNative(snapshot); |
| 520 | if (error) { |
nothing calls this directly
no test coverage detected