1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-10 17:24:02 +02:00

Add voids to the interface definition of positions (#4062)

* Add voids to the interface definition of positions

* Update editor.ts
This commit is contained in:
Luke Murray
2021-03-31 17:35:42 -04:00
committed by GitHub
parent d12413fff9
commit e2576108a6

View File

@@ -225,6 +225,7 @@ export interface EditorInterface {
at?: Location
unit?: 'offset' | 'character' | 'word' | 'line' | 'block'
reverse?: boolean
voids?: boolean
}
) => Generator<Point, void, undefined>
previous: <T extends Node>(