fix toJSON value

This commit is contained in:
Kevin Jahns
2021-11-19 16:36:58 +01:00
parent b9ccbb2dc7
commit a77221ffd2
4 changed files with 4 additions and 3 deletions

View File

@@ -2,7 +2,6 @@
* @module YArray
*/
import { useSearchMarker } from 'tests/testHelper.js'
import {
YEvent,
AbstractType,
@@ -10,6 +9,7 @@ import {
callTypeObservers,
transact,
ListIterator,
useSearchMarker,
UpdateDecoderV1, UpdateDecoderV2, UpdateEncoderV1, UpdateEncoderV2, Doc, Transaction, Item // eslint-disable-line
} from '../internals.js'

View File

@@ -430,6 +430,6 @@ const sliceArrayContent = (itemcontent, start, len) => {
* @param {Array<any>} added
*/
const concatArrayContent = (content, added) => {
content.push(added)
content.push(...added)
return content
}