v6.0.1: Fix initialValue type signature for TypeScript
- This fixes the type signature for
initialValue
to allow an Error as initial value. AsyncInitial
now specifiesinitialValue
asundefined
because you can never have one in theinitial
state.
initialValue
to allow an Error as initial value.AsyncInitial
now specifies initialValue
as undefined
because you can never have one in the initial
state.