Packages > @fluidframework/fluid-static >
DataObjectClass
A class that has a factory that can create a DataObject
and a constructor that will return the type of the DataObject
.
Signature
export type DataObjectClass<T extends IFluidLoadable = IFluidLoadable> = {
readonly factory: {
readonly IFluidDataStoreFactory: DataObjectClass<T>["factory"];
};
} & (new (...args: any[]) => T);
Type Parameters
Parameter | Constraint | Default | Description |
---|---|---|---|
T | IFluidLoadable | IFluidLoadable |
The class of the DataObject .
|