Skip to content

Commit

Permalink
Release 1.0.0-beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
webNeat committed Nov 4, 2022
1 parent 84a9126 commit eeb369e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Amine Ben hammou",
"description": "An opinionated and simple way to use Redux",
"license": "MIT",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/module.js",
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Decrement} from 'just-types'

export type HandlerFn<State = any> = (state: State, ...args: any[]) => State | undefined
export type HandlerFn<State = any> = (state: State, ...args: any[]) => State | undefined | void
export type Handlers<State = any, Depth extends number = 5> = Record<
string,
HandlerFn<State> | (Depth extends 1 ? never : Handlers<State, Decrement<Depth>>)
Expand Down

0 comments on commit eeb369e

Please sign in to comment.