Skip to main content
Version: v2

LatestArguments Interface

Arguments that are passed to the @fluidframework/presence#StateFactory.latest function to create a Latest State object.

Input

This type is "input," meaning that code outside of the library defining it should not read from it. Future versions of this type may add optional members or make typing of members more general.

Signature​

export interface LatestArguments<T extends object | null> extends LatestArgumentsRaw<T>

Extends: LatestArgumentsRaw<T>

Type Parameters​

ParameterConstraintDescription
Tobject | null

Properties​

PropertyTypeDescription
validatorStateSchemaValidator<T>See StateSchemaValidator.

Property Details​

validator​

See StateSchemaValidator.

Signature​

validator: StateSchemaValidator<T>;

Type: StateSchemaValidator<T>