Fix to make value / children optional · syntax-tree/unist@b7c4317 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit b7c4317

Fix to make value / children optional

Example without both attributes: markdown `break` or `horizontalRule` nodes.

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ This document explains some terminology relating to
19 19 * must have a `type` property set to a to its namespace semantic
20 20 `string`;
21 21
22 -* must have either a `value` property set to a `string` or a `children`
22 +* may have either a `value` property set to a `string` or a `children`
23 23 property set to an array of one or more `Unist` nodes;
24 24
25 25 * may have a `data` property set to a `JSON.stringify`able object;