InsertableTreeNodeFromImplicitAllowedTypes
Packages > @fluidframework/tree > InsertableTreeNodeFromImplicitAllowedTypes
Type of content that can be inserted into the tree for a node of the given schema.
Signature
export type InsertableTreeNodeFromImplicitAllowedTypes<TSchema extends ImplicitAllowedTypes = TreeNodeSchema> = TSchema extends TreeNodeSchema ? InsertableTypedNode<TSchema> : TSchema extends AllowedTypes ? InsertableTypedNode<FlexListToUnion<TSchema>> : never;
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
TSchema | ImplicitAllowedTypes | TreeNodeSchema |