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

SharedObjectKind Interface

Defines a kind of shared object.

Signature

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

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

Type Parameters

Parameter Default Description
TSharedObject unknown

Remarks

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.