Skip to main content

Type alias: ModelCanReduceRevive<T>

ModelCanReduceRevive<T>: object

Model which can reduce and revive using custom implementations.

Type parameters

T extends ReducedModelInstanceCustomData = any

Type declaration

$reduce()

Parameters

tools: ModelReduceTools

Returns

T

$revive()

Parameters

customData: T

tools: ModelReviveTools

Returns

void

Source

packages/core/src/model/revivers/types.ts:79