Type Alias Applicator<Output, Input>

Applicator<Output, Input>: Input | ((prevValue: Output) => Input)

An applicator is a literal value that must be set or a callback that receives the previous value and return the new one.

Type Parameters

  • Output

    The value returned by the getter.

  • Input = Output

    The value passed to the setter.