feat: strart refactoring types

This commit is contained in:
cudr
2019-11-03 11:32:52 +03:00
parent a805d2476a
commit 0f98915909
7 changed files with 16 additions and 14 deletions

View File

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