mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 09:04:31 +02:00
doc: add missing APIs in the doc (#5835)
* doc: add missing APIs in the doc * refactor: apply lint
This commit is contained in:
@@ -10,9 +10,16 @@ interface PathRef {
|
||||
}
|
||||
```
|
||||
|
||||
- [Instance methods](path-ref.md#instance-methods)
|
||||
- [Static methods](path-ref.md#static-methods)
|
||||
- [Transform methods](path-ref.md#trasnform-methods)
|
||||
|
||||
## Instance methods
|
||||
|
||||
#### `unref() => Path | null`
|
||||
|
||||
Free the resources used by the PathRef. This should be called when you no longer need to track the path. Returns the final path value before being unrefed, or null if the path was already invalid.
|
||||
|
||||
## Static methods
|
||||
|
||||
### Transform methods
|
||||
|
Reference in New Issue
Block a user