Skip to main content

DefaultProvider Interface

Provides a default value for a field.

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

/** @sealed */
export interface DefaultProvider extends ErasedType<"@fluidframework/tree.FieldProvider">

Extends: ErasedType<"@fluidframework/tree.FieldProvider">

Remarks

If present in a FieldSchema, when constructing new tree content that field can be omitted, and a default will be provided.