TreeRecord<A>TreeTree
Source effect/Schema.ts:141013 lines
export interface interface TreeRecord<A>A record node in a
Tree
: an object mapping string keys to child
Tree nodes.
TreeRecord<function (type parameter) A in TreeRecord<A>A> {
readonly [x: stringx: string]: type Tree<Node> =
| Node
| TreeRecord<Node>
| readonly Tree<Node>[]
Creates a recursive schema for a
Tree
of values described by node.
The resulting schema accepts a single node value, an array of trees, or an
object whose values are trees.
Recursive tree type whose leaves are Node values and whose branches are
readonly arrays or string-keyed records of child trees.
Tree<function (type parameter) A in TreeRecord<A>A>
}Referenced by 4 symbols