1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-11 17:53: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

View File

@@ -13,6 +13,6 @@ type Location = Path | Point | Range
### Check methods ### Check methods
#### `Location.isLocation(value: any): value is Location` #### `Location.isLocation(value: any) => value is Location`
Check if a value implements the `Location` interface. Check if a value implements the `Location` interface.