Skip to content

v6.0.1: Fix initialValue type signature for TypeScript

Compare
Choose a tag to compare
@ghengeveld ghengeveld released this 29 Mar 14:19
· 551 commits to master since this release
  • This fixes the type signature for initialValue to allow an Error as initial value.
  • AsyncInitial now specifies initialValue as undefined because you can never have one in the initial state.