feat: add ci and op convert insert test

This commit is contained in:
cudr
2019-10-22 00:05:46 +03:00
parent 65bb9b134d
commit cc071a2d35
10 changed files with 101 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ export const removeCursor = (doc: SyncDoc, key: CursorKey) => {
return doc
}
export const cursorOpFilter = (ops: Immutable.List<Operation>, type: string) =>
export const cursorOpFilter = (ops: any, type: string): any =>
ops.filter(op => {
if (op.type === 'set_annotation') {
return !(