Skip to content

Commit

Permalink
🐛 fix: fix UseStoreUpdater type
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 14, 2023
1 parent 8796382 commit 94ee56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createStoreUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare type WithoutCallSignature<T> = {
export type UseStoreUpdater<T> = (
key: keyof T,
value: any,
deps: any[],
deps?: any[],
setStateFn?: (state: T) => void,
) => void;

Expand Down

0 comments on commit 94ee56f

Please sign in to comment.