mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Fix typing of SyncValue. (#12)
This commit is contained in:
parent
6adf4082dc
commit
2a6d99c171
@ -1,7 +1,7 @@
|
||||
import Automerge from 'automerge'
|
||||
import { Node, Range } from 'slate'
|
||||
|
||||
export type SyncValue = Automerge.List<Node[]>
|
||||
export type SyncValue = Automerge.List<Node>
|
||||
|
||||
export type SyncDoc = Automerge.Doc<{ children: SyncValue; cursors: Cursors }>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user