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
Parameter | Constraint | Description |
---|---|---|
TSchema | ImplicitAllowedTypes | UnsafeUnknownSchema |
Remarks
Extended version of InsertableTreeNodeFromImplicitAllowedTypes that also allows UnsafeUnknownSchema.