Fix typing of SyncValue. (#12)

This commit is contained in:
Darren Zhao 2020-05-14 02:52:05 -04:00 committed by GitHub
parent 6adf4082dc
commit 2a6d99c171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }>