Type alias Updater<T>

Updater<T>: ((prev_value?) => T)

type definition for an incremental updater function.

Type Parameters

  • T

Type declaration

    • (prev_value?): T
    • Parameters

      • Optional prev_value: T

      Returns T

Generated using TypeDoc