Skip to content

Commit

Permalink
fix: type error of getState (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael8512 authored Aug 27, 2021
1 parent 9fcc2de commit 76e894d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export declare namespace CubeState {
effects: Record<string, Function>;
reducers: Record<string, Function>;
useStore: Function;
getState: Function;
getState: <P>(selector: StateSelector<any, P>) => P;
[k: string]: any;
}

Expand Down

0 comments on commit 76e894d

Please sign in to comment.