1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-04-21 13:51:59 +02:00

Add voids to the interface definition of positions ()

* 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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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