---
title: Location Types APIs
slug: docs/github-example/location-types-apis
docTags: 
createdAt: 2026-05-05T15:31:38.031Z
---

The `Location` interface is a union of the ways to refer to a specific location in a Slate document: paths, points or ranges. Methods will often accept a `Location` instead of requiring only a `Path`, `Point` or `Range`.

```typescript
type Location = Path | Point | Range
```

- [Location](docId\:ANm_zQwmSZ2wTVzDzC8nL)
- [Path](docId\:joSGubKr6rQ-uEgurPMBF)
- [PathRef](docId:_wsQhKRdxdQ3xZfhPTqNO)
- [Point](docId\:e51AU0fjiFPp56jHv4w3_)
- [PointEntry](docId\:LvU20sRMdBCY9ixOzK_JA)
- [PointRef](docId\:Qkw4_O6GpbJ2IUihEMrmi)
- [Range](docId:7xevw2NLqJnZs-UjUwC1N)
- [RangeRef](docId\:IBzj-o4MpklAlxgijmSma)
- [Span](docId\:q2P5qyDQOMNzO12e7CKRt)
