1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 01:50:06 +02:00

typeof key is string (not Key) (#165)

This commit is contained in:
joehua87
2016-07-23 12:20:40 +07:00
committed by Ian Storm Taylor
parent e80799252f
commit 1f0532d306

View File

@@ -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`. Get a list of all of the [`Charaters`](./character.md) in a `range`.
### `getChild` ### `getChild`
`getChild(key: Key || Node) => Node || Void` `getChild(key: String || Node) => Node || Void`
Get a child by `key`. Get a child by `key`.