fix jsdoc

This commit is contained in:
Kevin Jahns
2019-04-11 23:34:56 +02:00
parent cbcf1facb8
commit 07ac1d03e3
5 changed files with 87 additions and 30 deletions

View File

@@ -157,7 +157,7 @@ export const transact = (y, f) => {
})
// we don't need to check for events.length
// because we know it has at least one element
callEventHandlerListeners(type._dEH, [events, transaction])
callEventHandlerListeners(type._dEH, events, transaction)
})
// only call afterTransaction listeners if anything changed
transaction.afterState = getStates(transaction.y.store)