1
0
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:
Sunny Hirai 2021-06-06 12:43:15 -07:00
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.