Packages > @fluidframework/shared-object-base > SharedObjectKind

SharedObjectKind Interface

Defines a kind of shared object.


/** @sealed */
export interface SharedObjectKind<out TSharedObject = unknown> extends ErasedType<readonly ["SharedObjectKind", TSharedObject]>

Extends: ErasedType <readonly [“SharedObjectKind”, TSharedObject]>

Type Parameters

Parameter Default Description
TSharedObject unknown


Used in containers to register a shared object implementation, and to create new instances of a given type of shared object. See create(objectClass) and ContainerSchema for details.