Skip to main content
Version: v2

Insertable TypeAlias

Content which could be inserted into a tree.

This API is provided as an alpha preview and may change without notice.

To use, import via fluid-framework/alpha.

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

Signature​

export type Insertable<TSchema extends ImplicitAllowedTypes | UnsafeUnknownSchema> = TSchema extends ImplicitAllowedTypes ? InsertableTreeNodeFromImplicitAllowedTypes<TSchema> : InsertableContent;

Type Parameters​

ParameterConstraintDescription
TSchemaImplicitAllowedTypes | UnsafeUnknownSchema

Remarks​

Extended version of InsertableTreeNodeFromImplicitAllowedTypes that also allows UnsafeUnknownSchema.

See Also​

Input