Interface GetState<T>

Passed to a reshape-state instance. When invoked this function returns the current state object.

Returns

The current state object.

interface GetState<T> (() => T)

Type Parameters

  • T

    The type of the state object.