Skip to main content
Version: v1

SharedTreeOptions TypeAlias

The type of shared tree options for a given write format

Signature

export declare type SharedTreeOptions<WF extends WriteFormat, HistoryCompatibility extends 'Forwards' | 'None' = 'Forwards'> = Omit<WF extends WriteFormat.v0_0_2 ? SharedTreeOptions_0_0_2 : WF extends WriteFormat.v0_1_1 ? SharedTreeOptions_0_1_1 : never, HistoryCompatibility extends 'Forwards' ? 'summarizeHistory' : never>;

Type Parameters

Parameter Constraint Default Description
WF WriteFormat
HistoryCompatibility 'Forwards'