Skip to content

Commit 5142972

Browse files
committed
Refactor docs on type
1 parent d2108dd commit 5142972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Each key is a node type (`Node['type']`), each value its corresponding handler
214214
###### Type
215215

216216
```ts
217-
type Handlers = Record<string, Handle>
217+
type Handlers = Record<Node['type'], Handle>
218218
```
219219
220220
### `Info`

0 commit comments

Comments
 (0)