mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
docs: Switch Location API to use TypeScript method signatures
This commit is contained in:
parent
1a04970a56
commit
a0a976ff57
@ -13,6 +13,6 @@ type Location = Path | Point | Range
|
||||
|
||||
### Check methods
|
||||
|
||||
#### `Location.isLocation(value: any): value is Location`
|
||||
#### `Location.isLocation(value: any) => value is Location`
|
||||
|
||||
Check if a value implements the `Location` interface.
|
||||
|
Loading…
x
Reference in New Issue
Block a user