Skip to content

Commit ba980dd

Browse files
committed
fix(types/store): default type parameter StateExt in Store
1 parent 7876f8e commit ba980dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export type Observer<T> = {
8181
export interface Store<
8282
S = any,
8383
A extends Action = UnknownAction,
84-
StateExt extends {} = {}
84+
StateExt extends unknown = unknown
8585
> {
8686
/**
8787
* Dispatches an action. It is the only way to trigger a state change.

0 commit comments

Comments
 (0)