1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 18:09:49 +02:00

docs: Add PointEntry to API reference

This commit is contained in:
Sunny Hirai
2021-06-06 12:56:56 -07:00
parent 0c30c55355
commit d8dde5be3d
3 changed files with 9 additions and 0 deletions

View File

@@ -9,4 +9,5 @@ type Location = Path | Point | Range
- [Location](./location.md)
- [Path](./path.md)
- [Point](./point.md)
- [PointEntry](./pointe-entry.md)
- [Range](./range.md)

View File

@@ -0,0 +1,7 @@
# PointEntry
`PointEntry` objects are returned when iterating over `Point` objects that belong to a range.
```typescript
type PointEntry = [Point, 'anchor' | 'focus']
```