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
export 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
Parameter | Constraint | Default | Description |
---|---|---|---|
Name | string | ||
Kind | NodeKind | ||
TNode | Unenforced<TreeNode | TreeLeafValue> | ||
TInsertable | |||
ImplicitlyConstructable | boolean | ||
Info | unknown |
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
Method | Return Type | Description |
---|---|---|
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;