Interface: StructuralNode<T>
Defined in: src/Mnemonic/structural-migrations.ts:44
Default tree node shape supported by the structural migration helpers.
If your nodes already use id and children, you can call the helpers
directly without supplying StructuralTreeHelpers.
Type Parameters
| Type Parameter | Description |
|---|---|
T | Tree node type |
Properties
children?
optionalchildren: readonlyT[]
Defined in: src/Mnemonic/structural-migrations.ts:53
Optional child nodes.
id
id:
string
Defined in: src/Mnemonic/structural-migrations.ts:48
Stable node identifier used for lookup and rename operations.