Fix typing of SyncValue. (#12)

pull/14/head
Darren Zhao 4 years ago committed by GitHub
parent 6adf4082dc
commit 2a6d99c171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save