InsertableTypedNodeUnsafe TypeAlias
Unenforced version of InsertableTypedNode.
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 type InsertableTypedNodeUnsafe<TSchema extends Unenforced<TreeNodeSchemaUnsafe>, T = UnionToIntersection<TSchema>> = (T extends TreeNodeSchemaUnsafe<string, NodeKind, TreeNode | TreeLeafValue, never, true> ? NodeBuilderDataUnsafe<T> : never) | (T extends TreeNodeSchemaUnsafe ? NodeFromSchemaUnsafe<T> : never);
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
TSchema | Unenforced<TreeNodeSchemaUnsafe> | ||
T | UnionToIntersection<TSchema> |
Remarks
Do note use this type directly: its only needed in the implementation of generic logic which define recursive schema, not when using recursive schema.