mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-11 01:33:58 +02:00
docs: Switch Location API to use TypeScript method signatures
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user