mirror of
https://github.com/cudr/slate-collaborative.git
synced 2026-03-02 03:40:18 +00:00
feat: strart refactoring types
This commit is contained in:
@@ -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 !(
|
||||
|
||||
Reference in New Issue
Block a user