bundle yjs as a module to prevent declaration issues from circular dependencies

This commit is contained in:
Kevin Jahns
2020-02-12 10:37:22 +01:00
parent 76c389dba0
commit 62888b4004
4 changed files with 18 additions and 3 deletions

View File

@@ -56,5 +56,6 @@ export {
isParentOf,
equalSnapshots,
PermanentUserData, // @TODO experimental
tryGc
tryGc,
transact
} from './internals.js'

View File

@@ -338,7 +338,6 @@ const cleanupTransactions = (transactionCleanups, i) => {
* @param {function(Transaction):void} f
* @param {any} [origin=true]
*
* @private
* @function
*/
export const transact = (doc, f, origin = null, local = true) => {