mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-27 17:09:53 +02:00
typeof key is string (not Key) (#165)
This commit is contained in:
committed by
Ian Storm Taylor
parent
e80799252f
commit
1f0532d306
@@ -95,7 +95,7 @@ Get all of the bottom-most [`Block`](./block.md) node descendants.
|
||||
Get a list of all of the [`Charaters`](./character.md) in a `range`.
|
||||
|
||||
### `getChild`
|
||||
`getChild(key: Key || Node) => Node || Void`
|
||||
`getChild(key: String || Node) => Node || Void`
|
||||
|
||||
Get a child by `key`.
|
||||
|
||||
|
Reference in New Issue
Block a user