mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 17:53:59 +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:
@@ -225,6 +225,7 @@ export interface EditorInterface {
|
|||||||
at?: Location
|
at?: Location
|
||||||
unit?: 'offset' | 'character' | 'word' | 'line' | 'block'
|
unit?: 'offset' | 'character' | 'word' | 'line' | 'block'
|
||||||
reverse?: boolean
|
reverse?: boolean
|
||||||
|
voids?: boolean
|
||||||
}
|
}
|
||||||
) => Generator<Point, void, undefined>
|
) => Generator<Point, void, undefined>
|
||||||
previous: <T extends Node>(
|
previous: <T extends Node>(
|
||||||
|
Reference in New Issue
Block a user