remove weird formatting

This commit is contained in:
Salakar 2017-04-19 11:30:08 +01:00
parent eb1b133188
commit e6d2693f33
1 changed files with 1 additions and 5 deletions

View File

@ -157,11 +157,7 @@ export default class Reference extends ReferenceBase {
* @param onComplete
* @param applyLocally
*/
transaction(
transactionUpdate: Function,
onComplete?: (?Error, any, ?Snapshot) => any,
applyLocally: boolean = false
) {
transaction(transactionUpdate: Function, onComplete, applyLocally: boolean = false) {
if (!isFunction(transactionUpdate)) return Promise.reject(new Error('Missing transactionUpdate function argument.'));
return new Promise((resolve, reject) => {