diff --git a/docs/api/locations.md b/docs/api/locations.md index 4f5fabaaf..9277f2d12 100644 --- a/docs/api/locations.md +++ b/docs/api/locations.md @@ -27,7 +27,7 @@ type Path = number[] ###### `ancestors(path: Path, options: { reverse?: boolean } = {}): Path[]` Get a list of ancestor paths for a given path. - * + The paths are sorted from deepest to shallowest ancestor. However, if the `reverse: true` option is passed, they are reversed.