Skip to main content

TreeNodeSchemaNonClassUnsafe Interface

Unenforced version of TreeNodeSchemaNonClass.

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

interface TreeNodeSchemaNonClassUnsafe<out Name extends string, out Kind extends NodeKind, out TNode extends Unenforced<TreeNode | TreeLeafValue>, in TInsertable, out ImplicitlyConstructable extends boolean, out Info = unknown> extends TreeNodeSchemaCore<Name, Kind, ImplicitlyConstructable, Info>

Extends: TreeNodeSchemaCore<Name, Kind, ImplicitlyConstructable, Info>

Type Parameters

ParameterConstraintDefaultDescription
Namestring
KindNodeKind
TNodeUnenforced<TreeNode | TreeLeafValue>
TInsertable
ImplicitlyConstructableboolean
Infounknown

Remarks

Do not use this type directly: it is only needed in the implementation of generic logic which define recursive schema, not when using recursive schema. \

Methods

MethodReturn TypeDescription
create(data)TNode

Method Details

create

This API is reserved for internal system use and should not be imported directly. It may change at any time without notice.

For more information about our API support guarantees, see here.

Signature

create(data: TInsertable): TNode;

Parameters

ParameterTypeDescription
dataTInsertable

Returns

Return type: TNode