Skip to content

Commit

Permalink
Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
shoonia committed Mar 13, 2024
1 parent e94b84f commit 7850551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export namespace createStoreon {
> = (
state: Readonly<State>,
data: (Events & StoreonEvents<State, Events>)[Event],
) => Partial<State> | Promise<void> | null | void | false
) => Partial<State> | Promise<void> | null | void | false | undefined

export interface DispatchableEvents<State> {
'@init': never
Expand Down

0 comments on commit 7850551

Please sign in to comment.